{ungoogled-,}chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69 (#351519)
[NixPkgs.git] / pkgs / data / themes / materia-theme / default.nix
bloba5a574aa7927d610a65bec59df3e8c1d5b6e21fb
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , meson
5 , ninja
6 , sassc
7 , gnome-shell
8 , gnome-themes-extra
9 , gtk-engine-murrine
10 , gdk-pixbuf
11 , librsvg
14 stdenv.mkDerivation rec {
15   pname = "materia-theme";
16   version = "20210322";
18   src = fetchFromGitHub {
19     owner = "nana-4";
20     repo = pname;
21     rev = "v${version}";
22     sha256 = "1fsicmcni70jkl4jb3fvh7yv0v9jhb8nwjzdq8vfwn256qyk0xvl";
23   };
25   nativeBuildInputs = [ meson ninja sassc ];
27   buildInputs = [ gnome-themes-extra gdk-pixbuf librsvg ];
29   propagatedUserEnvPkgs = [ gtk-engine-murrine ];
31   mesonFlags = [
32     "-Dgnome_shell_version=${lib.versions.majorMinor gnome-shell.version}"
33   ];
35   postInstall = ''
36     rm $out/share/themes/*/COPYING
37   '';
39   meta = with lib; {
40     description = "Material Design theme for GNOME/GTK based desktop environments";
41     homepage = "https://github.com/nana-4/materia-theme";
42     license = licenses.gpl2Only;
43     platforms = platforms.all;
44     maintainers = [ maintainers.mounium ];
45   };