diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix b/infra/libkookie/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix new file mode 100644 index 000000000000..d406ae50e1c3 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/data/icons/zafiro-icons/default.nix @@ -0,0 +1,42 @@ +{ stdenv, fetchFromGitHub, gtk3, breeze-icons, gnome-icon-theme, numix-icon-theme, numix-icon-theme-circle, hicolor-icon-theme }: + +stdenv.mkDerivation rec { + pname = "zafiro-icons"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "zayronxio"; + repo = pname; + rev = version; + sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv"; + }; + + nativeBuildInputs = [ + gtk3 + ]; + + propagatedBuildInputs = [ + breeze-icons + gnome-icon-theme + numix-icon-theme + numix-icon-theme-circle + hicolor-icon-theme + # still missing parent icon themes: Surfn + ]; + + 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 ]; + }; +} |