nixpkgs-suyu/pkgs/data/icons/numix-icon-theme-circle/default.nix
2016-10-11 23:33:42 +02:00

33 lines
839 B
Nix

{ stdenv, fetchFromGitHub, numix-icon-theme }:
stdenv.mkDerivation rec {
version = "2016-09-27";
package-name = "numix-icon-theme-circle";
name = "${package-name}-${version}";
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = "481bc1100f01e25e92deb7facf61436b27f9ca8a";
sha256 = "0fkr7w6z6sz5yblgshr3qr2bszia6dsjszv3gmcbi2xqvjjd8wij";
};
buildInputs = [ numix-icon-theme ];
dontBuild = true;
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
'';
meta = with stdenv.lib; {
description = "Numix icon theme (circle version)";
homepage = https://numixproject.org;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ jgeerds ];
};
}