chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / sa / samrewritten / package.nix
blobd689a1feb089bf9a5c3bbdb757861377ef2203ba
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   unstableGitUpdater,
6   curl,
7   gtkmm3,
8   glibmm,
9   gnutls,
10   yajl,
11   pkg-config,
13 stdenv.mkDerivation (finalAttrs: {
14   pname = "samrewritten";
15   version = "202008-unstable-2023-05-22";
17   src = fetchFromGitHub {
18     owner = "PaulCombal";
19     repo = "SamRewritten";
20     # The latest release is too old, use latest commit instead
21     rev = "39d524a72678a226bf9140db6b97641f554563c3";
22     hash = "sha256-sS/lVY5EWXdTOg7cDWPbi/n5TNt+pRAF1x7ZEaYG4wM=";
23   };
25   makeFlags = [ "PREFIX=$(out)" ];
27   nativeBuildInputs = [ pkg-config ];
29   buildInputs = [
30     curl
31     gtkmm3
32     glibmm
33     gnutls
34     yajl
35   ];
37   postInstall = ''
38     substituteInPlace $out/share/applications/samrewritten.desktop \
39       --replace-fail "Exec=/usr/bin/samrewritten" "Exec=samrewritten"
40   '';
42   passthru.updateScript = unstableGitUpdater { };
44   meta = {
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" ];
52   };