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

33 lines
911 B
Nix
Raw Normal View History

2016-05-20 16:52:31 +02:00
{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk_pixbuf
, gtk-engine-murrine
}:
stdenv.mkDerivation rec {
version = "2017-02-15";
name = "numix-gtk-theme-${version}";
2016-05-20 16:52:31 +02:00
src = fetchFromGitHub {
repo = "numix-gtk-theme";
owner = "numixproject";
rev = "f25d7e04353543e03fd155f4d9dfa80fc6b551f2";
sha256 = "0n57airi1kgg754099sdq40bb0mbp4my385fvslnsjv5d4h8jhvq";
};
2016-05-20 16:52:31 +02:00
nativeBuildInputs = [ sass glib libxml2 gdk_pixbuf ];
buildInputs = [ gtk-engine-murrine ];
postPatch = ''
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
patchShebangs .
'';
2016-05-20 16:52:31 +02:00
meta = {
2016-05-20 16:52:31 +02: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 16:52:31 +02:00
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
2016-05-20 16:52:31 +02:00
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}