nixpkgs-suyu/pkgs/misc/themes/numix-gtk-theme/default.nix
2016-05-27 00:03:15 -03:00

31 lines
891 B
Nix

{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk_pixbuf
, gtk-engine-murrine
}:
stdenv.mkDerivation rec {
version = "2016-05-25";
name = "numix-gtk-theme-${version}";
src = fetchFromGitHub {
repo = "numix-gtk-theme";
owner = "numixproject";
rev = "e99d167adf1310e110e17f8e7c2baf217c2402aa";
sha256 = "1418hf034b2bp32wqagbnn5y3i21h8v2ihjqakq2gaqd5fwg0f9g";
};
nativeBuildInputs = [ sass glib libxml2 gdk_pixbuf ];
buildInputs = [ gtk-engine-murrine ];
postPatch = ''
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
'';
meta = {
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
homepage = https://numixproject.org;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}