nixpkgs/pkgs/misc/themes/numix/default.nix

33 lines
881 B
Nix
Raw Normal View History

2016-05-20 15:52:31 +01:00
{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk_pixbuf
, gtk-engine-murrine
}:
stdenv.mkDerivation rec {
2017-10-07 01:25:14 +01:00
version = "2.6.7";
name = "numix-gtk-theme-${version}";
2016-05-20 15:52:31 +01:00
src = fetchFromGitHub {
repo = "numix-gtk-theme";
owner = "numixproject";
2017-10-07 01:25:14 +01:00
rev = version;
2017-11-02 20:45:19 +00:00
sha256 = "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7";
};
2016-05-20 15:52:31 +01:00
nativeBuildInputs = [ sass glib libxml2 gdk_pixbuf ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
postPatch = ''
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
patchShebangs .
'';
2016-05-20 15:52:31 +01:00
meta = {
2016-05-20 15:52:31 +01:00
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
homepage = https://numixproject.org;
2016-05-20 15:52:31 +01:00
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
2016-05-20 15:52:31 +01:00
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}