nixpkgs/pkgs/data/icons/numix-icon-theme-circle/default.nix
2018-03-04 07:20:57 -03:00

34 lines
798 B
Nix

{ stdenv, fetchFromGitHub, numix-icon-theme }:
stdenv.mkDerivation rec {
version = "18-02-16";
package-name = "numix-icon-theme-circle";
name = "${package-name}-${version}";
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "0q08q1czsk6h0dxqscbgryr12xaakp4zbch37z0jxpwh087gnq4f";
};
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 ];
};
}