2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gtk3, breeze-icons, gnome-icon-theme, numix-icon-theme, numix-icon-theme-circle, hicolor-icon-theme }:
|
2018-11-20 16:43:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zafiro-icons";
|
2020-04-15 13:07:03 +02:00
|
|
|
version = "1.1";
|
2018-11-20 16:43:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zayronxio";
|
|
|
|
repo = pname;
|
2020-11-01 23:39:49 +01:00
|
|
|
rev = version;
|
2020-04-15 13:07:03 +02:00
|
|
|
sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv";
|
2018-11-20 16:43:43 +01:00
|
|
|
};
|
|
|
|
|
2020-04-18 01:51:41 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
2018-11-20 16:43:43 +01:00
|
|
|
|
2019-09-12 16:47:48 +02:00
|
|
|
propagatedBuildInputs = [
|
2020-04-18 01:51:41 +02:00
|
|
|
breeze-icons
|
|
|
|
gnome-icon-theme
|
|
|
|
numix-icon-theme
|
|
|
|
numix-icon-theme-circle
|
2019-09-12 16:47:48 +02:00
|
|
|
hicolor-icon-theme
|
2020-04-18 01:51:41 +02:00
|
|
|
# still missing parent icon themes: Surfn
|
2019-09-12 16:47:48 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-11-20 16:43:43 +01:00
|
|
|
description = "Icon pack flat with light colors";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/zayronxio/Zafiro-icons";
|
2018-11-20 16:43:43 +01:00
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|