openvswitch: generalize builder
[NixPkgs.git] / pkgs / data / themes / marwaita / default.nix
blob189ef5277eb291652c77db12cf6a5f0a9778a424
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , gdk-pixbuf
5 , gtk-engine-murrine
6 , gtk_engines
7 , librsvg
8 , gitUpdater
9 }:
11 stdenv.mkDerivation rec {
12   pname = "marwaita";
13   version = "15.0";
15   src = fetchFromGitHub {
16     owner = "darkomarko42";
17     repo = pname;
18     rev = version;
19     sha256 = "sha256-GjBIAir4xTWnc1VXe5CF+FPcZJTSyJpi8MqlJUpkyy4=";
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   };