toxic: 0.15.1 -> 0.16.0
[NixPkgs.git] / pkgs / by-name / pr / protonplus / package.nix
bloba6f442e055b0edd6c189047762df94a6c7beef09
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   nix-update-script,
6   desktop-file-utils,
7   wrapGAppsHook4,
8   meson,
9   ninja,
10   pkg-config,
11   vala,
12   glib,
13   glib-networking,
14   gtk4,
15   json-glib,
16   libadwaita,
17   libarchive,
18   libgee,
19   libsoup_3,
21 stdenv.mkDerivation (finalAttrs: {
22   pname = "protonplus";
23   version = "0.4.20";
25   src = fetchFromGitHub {
26     owner = "Vysp3r";
27     repo = "protonplus";
28     rev = "v${finalAttrs.version}";
29     hash = "sha256-nnobk1N+r1tLekc8CLiAULsEQFjgzoQQvRz3F8vVjzU=";
30   };
32   nativeBuildInputs = [
33     desktop-file-utils
34     meson
35     ninja
36     pkg-config
37     vala
38     wrapGAppsHook4
39   ];
41   buildInputs = [
42     glib
43     glib-networking
44     gtk4
45     json-glib
46     libadwaita
47     libarchive
48     libgee
49     libsoup_3
50   ];
52   passthru = {
53     updateScript = nix-update-script { };
54   };
56   meta = with lib; {
57     mainProgram = "com.vysp3r.ProtonPlus";
58     description = "Simple Wine and Proton-based compatibility tools manager";
59     homepage = "https://github.com/Vysp3r/ProtonPlus";
60     changelog = "https://github.com/Vysp3r/ProtonPlus/releases/tag/v${finalAttrs.version}";
61     license = licenses.gpl3Only;
62     maintainers = with maintainers; [ getchoo ];
63     platforms = platforms.linux;
64   };