35 lines
687 B
Nix
35 lines
687 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, pkg-config
|
||
|
, curl
|
||
|
, glibmm
|
||
|
, gtkmm3
|
||
|
, steam
|
||
|
, yajl
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "SamRewritten";
|
||
|
version = "202008";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "PaulCombal";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "sha256-q3kDuZdnWw1Nfu3hVDD8XKJzbmwlx/lafJfhziVYKhw=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ pkg-config ];
|
||
|
buildInputs = [ curl glibmm gtkmm3 steam yajl ];
|
||
|
|
||
|
installFlags = [ "PREFIX=$(out)" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Steam Achievement Manager For Linux. Rewritten in C++.";
|
||
|
homepage = "https://github.com/PaulCombal/SamRewritten";
|
||
|
license = licenses.gpl3;
|
||
|
platforms = [ "x86_64-linux" ];
|
||
|
};
|
||
|
}
|