python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / ca / canta-theme / package.nix
blob8f06327b9706ca1c9fdb2d7b95417f6bd88cf4f0
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , gdk-pixbuf
5 , librsvg
6 , gtk-engine-murrine
7 , gtk3
8 , adwaita-icon-theme
9 , gnome-icon-theme
10 , numix-icon-theme-circle
11 , hicolor-icon-theme
14 stdenv.mkDerivation rec {
15   pname = "canta-theme";
16   version = "2021-09-08";
18   src = fetchFromGitHub {
19     owner = "vinceliuice";
20     repo = pname;
21     rev = version;
22     sha256 = "05h42nrggb6znzjcbh4lqqfcm41h4r85n3vwimp3l4lq5p90igr2";
23   };
25   nativeBuildInputs = [
26     gtk3
27   ];
29   buildInputs = [
30     gdk-pixbuf
31     librsvg
32   ];
34   propagatedBuildInputs = [
35     adwaita-icon-theme
36     gnome-icon-theme
37     numix-icon-theme-circle
38     hicolor-icon-theme
39   ];
41   propagatedUserEnvPkgs = [
42     gtk-engine-murrine
43   ];
45   dontDropIconThemeCache = true;
47   installPhase = ''
48     patchShebangs .
49     mkdir -p $out/share/themes
50     name= ./install.sh --dest $out/share/themes
51     rm $out/share/themes/*/{AUTHORS,COPYING}
52     install -D -t $out/share/backgrounds wallpaper/canta-wallpaper.svg
53     mkdir -p $out/share/icons
54     cp -a icons/Canta $out/share/icons
55     gtk-update-icon-cache $out/share/icons/Canta
56   '';
58   meta = with lib; {
59     description = "Flat Design theme for GTK based desktop environments";
60     homepage = "https://github.com/vinceliuice/Canta-theme";
61     license = licenses.gpl2Only;
62     platforms = platforms.linux; # numix-icon-theme-circle unavailable in darwin
63     maintainers = [ maintainers.romildo ];
64   };