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

33 lines
887 B
Nix
Raw Normal View History

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