2020-05-03 17:38:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, breeze-icons, gnome-icon-theme, numix-icon-theme, numix-icon-theme-circle, hicolor-icon-theme }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zafiro-icons";
|
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zayronxio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv";
|
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-05-03 17:38:23 +00:00
|
|
|
breeze-icons
|
|
|
|
gnome-icon-theme
|
|
|
|
numix-icon-theme
|
|
|
|
numix-icon-theme-circle
|
2020-04-24 23:36:52 +00:00
|
|
|
hicolor-icon-theme
|
2020-05-03 17:38:23 +00:00
|
|
|
# still missing parent icon themes: Surfn
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/icons/Zafiro-icons
|
|
|
|
cp -a * $out/share/icons/Zafiro-icons
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/Zafiro-icons
|
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|