biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / gradience / default.nix
blobd4b4965aea87b1efd380d27989128c1a03d7b68f
1 { lib
2 , fetchFromGitHub
3 , wrapGAppsHook4
4 , meson
5 , ninja
6 , pkg-config
7 , glib
8 , glib-networking
9 , desktop-file-utils
10 , gettext
11 , librsvg
12 , blueprint-compiler
13 , python3Packages
14 , sassc
15 , appstream-glib
16 , libadwaita
17 , libportal
18 , libportal-gtk4
19 , libsoup_3
20 , gobject-introspection
23 python3Packages.buildPythonApplication rec {
24   pname = "gradience";
25   version = "0.4.1";
27   src = fetchFromGitHub {
28     owner = "GradienceTeam";
29     repo = "Gradience";
30     # See https://github.com/GradienceTeam/Gradience/releases/tag/0.4.1-patch1
31     rev = "0.4.1-patch1";
32     sha256 = "sha256-5jloFbimJC4jP1C1uS8a9VlqyR5qqDuqcKvUXwr9SjY=";
33   };
35   format = "other";
36   dontWrapGApps = true;
38   nativeBuildInputs = [
39     appstream-glib
40     blueprint-compiler
41     desktop-file-utils
42     gettext
43     glib
44     gobject-introspection
45     meson
46     ninja
47     pkg-config
48     wrapGAppsHook4
49     sassc
50   ];
52   buildInputs = [
53     glib-networking
54     libadwaita
55     libportal
56     libportal-gtk4
57     librsvg
58     libsoup_3
59   ];
61   propagatedBuildInputs = with python3Packages; [
62     anyascii
63     jinja2
64     lxml
65     material-color-utilities
66     pygobject3
67     svglib
68     yapsy
69     packaging
70   ];
72   preFixup = ''
73     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
74   '';
76   meta = with lib; {
77     homepage = "https://github.com/GradienceTeam/Gradience";
78     description = "Customize libadwaita and GTK3 apps (with adw-gtk3)";
79     license = licenses.gpl3Plus;
80     maintainers = with maintainers; [ foo-dogsquared ];
81   };