Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, sass, glib, libxml2, gdk-pixbuf
2, gtk-engine-murrine
3}:
4
5stdenv.mkDerivation rec {
6 version = "2.6.7";
7 pname = "numix-gtk-theme";
8
9 src = fetchFromGitHub {
10 repo = "numix-gtk-theme";
11 owner = "numixproject";
12 rev = version;
13 sha256 = "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7";
14 };
15
16 nativeBuildInputs = [ sass glib libxml2 gdk-pixbuf ];
17
18 propagatedUserEnvPkgs = [ gtk-engine-murrine ];
19
20 postPatch = ''
21 substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
22 patchShebangs .
23 '';
24
25 meta = {
26 description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
27 homepage = "https://numixproject.github.io";
28 license = lib.licenses.gpl3Plus;
29 platforms = lib.platforms.all;
30 maintainers = [ lib.maintainers.romildo ];
31 };
32}