2019-09-12 16:47:48 +02:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
2018-11-20 16:43:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zafiro-icons";
|
2019-11-28 00:50:02 +01:00
|
|
|
version = "1.0";
|
2018-11-20 16:43:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zayronxio";
|
|
|
|
repo = pname;
|
2019-11-28 00:50:02 +01:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0gy3c0jkj1icnwcs23b6km9cj9cccv8y5z1w11nfdv91cq3mdhmb";
|
2018-11-20 16:43:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2019-09-12 16:47:48 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2018-11-20 16:43:43 +01:00
|
|
|
installPhase = ''
|
2018-12-04 20:45:41 +01: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 16:43:43 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|