Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv
2, fetchFromGitHub
3, gdk-pixbuf
4, gtk-engine-murrine
5, gtk_engines
6, librsvg
7}:
8
9stdenv.mkDerivation rec {
10 pname = "marwaita-ubuntu";
11 version = "1.7";
12
13 src = fetchFromGitHub {
14 owner = "darkomarko42";
15 repo = pname;
16 rev = version;
17 sha256 = "024b0817jilvi5ilq9sbwg19ql5i2x3jfgc1awk7zzv6sqii639x";
18 };
19
20 buildInputs = [
21 gdk-pixbuf
22 gtk_engines
23 librsvg
24 ];
25
26 propagatedUserEnvPkgs = [
27 gtk-engine-murrine
28 ];
29
30 dontBuild = true;
31
32 installPhase = ''
33 runHook preInstall
34 mkdir -p $out/share/themes
35 cp -a Marwaita* $out/share/themes
36 runHook postInstall
37 '';
38
39 meta = with lib; {
40 description = "Ubuntu Style of Marwaita GTK theme";
41 homepage = "https://www.pling.com/p/1352833/";
42 license = licenses.gpl3Only;
43 platforms = platforms.unix;
44 maintainers = [ maintainers.romildo ];
45 };
46}