nixpkgs/pkgs/data/icons/zafiro-icons/default.nix

43 lines
1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gtk3, breeze-icons, gnome-icon-theme, numix-icon-theme, numix-icon-theme-circle, hicolor-icon-theme }:
2018-11-20 15:43:43 +00:00
stdenv.mkDerivation rec {
pname = "zafiro-icons";
2020-04-15 11:07:03 +00:00
version = "1.1";
2018-11-20 15:43:43 +00:00
src = fetchFromGitHub {
owner = "zayronxio";
repo = pname;
rev = version;
2020-04-15 11:07:03 +00:00
sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv";
2018-11-20 15:43:43 +00:00
};
nativeBuildInputs = [
gtk3
];
2018-11-20 15:43:43 +00:00
propagatedBuildInputs = [
breeze-icons
gnome-icon-theme
numix-icon-theme
numix-icon-theme-circle
hicolor-icon-theme
# still missing parent icon themes: Surfn
];
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 lib; {
2018-11-20 15:43:43 +00:00
description = "Icon pack flat with light colors";
homepage = "https://github.com/zayronxio/Zafiro-icons";
2018-11-20 15:43:43 +00:00
license = with licenses; [ gpl3 ];
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}