nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix

38 lines
938 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
2015-03-04 02:15:30 +00:00
stdenv.mkDerivation rec {
2018-02-24 11:31:11 +00:00
pname = "numix-icon-theme";
2020-03-30 06:50:39 +01:00
version = "20.03.20";
2015-03-04 02:15:30 +00:00
src = fetchFromGitHub {
owner = "numixproject";
2018-02-24 11:31:11 +00:00
repo = pname;
2017-12-26 17:58:12 +00:00
rev = version;
2020-03-30 06:50:39 +01:00
sha256 = "092f8k38xf9yz898nrangm0ia211d41z8kx0v6njfqfgpiad1s7q";
2015-03-04 02:15:30 +00:00
};
nativeBuildInputs = [ gtk3 ];
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
dontDropIconThemeCache = true;
2015-03-04 02:15:30 +00:00
installPhase = ''
2018-02-24 11:31:11 +00:00
mkdir -p $out/share/icons
2019-10-01 13:47:21 +01:00
cp -a Numix{,-Light} $out/share/icons/
2018-02-24 11:31:11 +00:00
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
2015-03-04 02:15:30 +00:00
'';
meta = with stdenv.lib; {
2015-03-04 02:15:30 +00:00
description = "Numix icon theme";
2020-03-30 06:50:39 +01:00
homepage = "https://numixproject.github.io";
license = licenses.gpl3;
# darwin cannot deal with file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
2015-03-04 02:15:30 +00:00
};
}