8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
35 lines
860 B
Nix
35 lines
860 B
Nix
{ stdenv, fetchFromGitHub, gtk3, 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 = [
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|