2019-09-12 15:47:48 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
2018-11-20 15:43:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zafiro-icons";
|
2019-04-15 01:29:56 +01:00
|
|
|
version = "0.9";
|
2018-11-20 15:43:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zayronxio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-04-15 01:29:56 +01:00
|
|
|
sha256 = "0zmnhih4gz8bidyzf1wimy85z7zx9i29mv1zirmykpqj819g7mx9";
|
2018-11-20 15:43:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2019-09-12 15:47:48 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2018-11-20 15:43:43 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|