nixpkgs/pkgs/data/icons/zafiro-icons/default.nix

30 lines
750 B
Nix
Raw Normal View History

2018-11-20 15:43:43 +00:00
{ stdenv, fetchFromGitHub, gtk3 }:
stdenv.mkDerivation rec {
pname = "zafiro-icons";
version = "0.8.4";
2018-11-20 15:43:43 +00:00
src = fetchFromGitHub {
owner = "zayronxio";
repo = pname;
rev = "v${version}";
sha256 = "1jdijiccazn2g42x1w1m4hl94ach9b2kl3rwb0mpy7ykdzmj6vj0";
2018-11-20 15:43:43 +00:00
};
nativeBuildInputs = [ gtk3 ];
installPhase = ''
2018-12-04 19:45:41 +00:00
mkdir -p $out/share/icons/Zafiro-icons
cp -a * $out/share/icons/Zafiro-icons
gtk-update-icon-cache "$out"/share/icons/Zafiro-icons
2018-11-20 15:43:43 +00:00
'';
meta = with stdenv.lib; {
description = "Icon pack flat with light colors";
homepage = https://github.com/zayronxio/Zafiro-icons;
license = with licenses; [ gpl3 ];
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}