Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, stdenv
3, fetchFromGitHub
4, gdk-pixbuf
5, gtk-engine-murrine
6, gtk_engines
7, librsvg
8, gitUpdater
9}:
10
11stdenv.mkDerivation rec {
12 pname = "marwaita";
13 version = "17";
14
15 src = fetchFromGitHub {
16 owner = "darkomarko42";
17 repo = pname;
18 rev = version;
19 sha256 = "sha256-9yPgcWtk8w2AyOav1sfQFuH8wnX37ho836NgUnQbFRE=";
20 };
21
22 buildInputs = [
23 gdk-pixbuf
24 gtk_engines
25 librsvg
26 ];
27
28 propagatedUserEnvPkgs = [
29 gtk-engine-murrine
30 ];
31
32 dontBuild = true;
33
34 installPhase = ''
35 runHook preInstall
36 mkdir -p $out/share/themes
37 cp -a Marwaita* $out/share/themes
38 runHook postInstall
39 '';
40
41 passthru.updateScript = gitUpdater { };
42
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 };
50}