ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ma / marwaita / package.nix
blob3078baf053906580bbfcef20918f9c7fe65c1834
1 { lib
2 , stdenvNoCC
3 , fetchFromGitHub
4 , gdk-pixbuf
5 , gtk-engine-murrine
6 , gtk_engines
7 , librsvg
8 , gitUpdater
9 }:
11 stdenvNoCC.mkDerivation rec {
12   pname = "marwaita";
13   version = "22.2";
15   src = fetchFromGitHub {
16     owner = "darkomarko42";
17     repo = pname;
18     rev = version;
19     hash = "sha256-LJwobpyQ2KVaJ4jkkg+ISAhjaHLWqYYVuX1z0YJdX6g=";
20   };
22   buildInputs = [
23     gdk-pixbuf
24     gtk_engines
25     librsvg
26   ];
28   propagatedUserEnvPkgs = [
29     gtk-engine-murrine
30   ];
32   dontBuild = true;
34   installPhase = ''
35     runHook preInstall
36     mkdir -p $out/share/themes
37     cp -a Marwaita* $out/share/themes
38     runHook postInstall
39   '';
41   passthru.updateScript = gitUpdater { };
43   meta = with lib; {
44     description = "GTK theme supporting Budgie, Pantheon, Mate, Xfce4 and GNOME desktops";
45     homepage = "https://www.pling.com/p/1239855/";
46     license = licenses.gpl3Only;
47     platforms = platforms.unix;
48     maintainers = [ maintainers.romildo ];
49   };