13 stdenv.mkDerivation (finalAttrs: {
14 pname = "samrewritten";
15 version = "202008-unstable-2023-05-22";
17 src = fetchFromGitHub {
19 repo = "SamRewritten";
20 # The latest release is too old, use latest commit instead
21 rev = "39d524a72678a226bf9140db6b97641f554563c3";
22 hash = "sha256-sS/lVY5EWXdTOg7cDWPbi/n5TNt+pRAF1x7ZEaYG4wM=";
25 makeFlags = [ "PREFIX=$(out)" ];
27 nativeBuildInputs = [ pkg-config ];
38 substituteInPlace $out/share/applications/samrewritten.desktop \
39 --replace-fail "Exec=/usr/bin/samrewritten" "Exec=samrewritten"
42 passthru.updateScript = unstableGitUpdater { };
45 description = "Steam Achievement Manager For Linux. Rewritten in C++";
46 mainProgram = "samrewritten";
47 homepage = "https://github.com/PaulCombal/SamRewritten";
48 changelog = "https://github.com/PaulCombal/SamRewritten/releases";
49 license = lib.licenses.gpl3Plus;
50 maintainers = with lib.maintainers; [ ludovicopiero ];
51 platforms = [ "x86_64-linux" ];