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

39 lines
974 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
2015-03-04 02:15:30 +00:00
stdenv.mkDerivation rec {
version = "18.09.19";
2015-03-04 02:15:30 +00:00
package-name = "numix-icon-theme-circle";
name = "${package-name}-${version}";
2015-03-04 02:15:30 +00:00
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "1a1ack4kpngnb3c281pssmp3snn2idcn2c5cv3l38a0dl5g5w8nq";
2015-03-04 02:15:30 +00:00
};
nativeBuildInputs = [ gtk3 numix-icon-theme ];
2015-03-04 02:15:30 +00:00
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
2015-03-04 02:15:30 +00:00
'';
postFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with stdenv.lib; {
2015-03-04 02:15:30 +00:00
description = "Numix icon theme (circle version)";
2018-09-07 22:32:30 +00: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; [ jgeerds ];
2015-03-04 02:15:30 +00:00
};
}