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

38 lines
902 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
2015-03-04 03:15:30 +01:00
stdenv.mkDerivation rec {
version = "18-02-16";
2015-03-04 03:15:30 +01:00
package-name = "numix-icon-theme-circle";
name = "${package-name}-${version}";
2015-03-04 03:15:30 +01:00
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "0q08q1czsk6h0dxqscbgryr12xaakp4zbch37z0jxpwh087gnq4f";
2015-03-04 03:15:30 +01:00
};
nativeBuildInputs = [ gtk3 numix-icon-theme ];
2015-03-04 03:15:30 +01:00
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
2015-03-04 03:15:30 +01:00
'';
postFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with stdenv.lib; {
2015-03-04 03:15:30 +01:00
description = "Numix icon theme (circle version)";
homepage = https://numixproject.org;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ jgeerds ];
2015-03-04 03:15:30 +01:00
};
}