1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/misc/themes/numix/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

33 lines
877 B
Nix

{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk-pixbuf
, gtk-engine-murrine
}:
stdenv.mkDerivation rec {
version = "2.6.7";
pname = "numix-gtk-theme";
src = fetchFromGitHub {
repo = "numix-gtk-theme";
owner = "numixproject";
rev = version;
sha256 = "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7";
};
nativeBuildInputs = [ sass glib libxml2 gdk-pixbuf ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
postPatch = ''
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
patchShebangs .
'';
meta = {
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
homepage = https://numixproject.github.io;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}