nixpkgs/pkgs/data/icons/luna-icons/default.nix
José Romildo Malaquias deefae9708 luna-icons: 1.0 -> 1.1
2021-03-14 14:38:26 -03:00

53 lines
1009 B
Nix

{ lib, stdenv
, fetchFromGitHub
, gtk3
, breeze-icons
, hicolor-icon-theme
, pantheon
}:
stdenv.mkDerivation rec {
pname = "luna-icons";
version = "1.1";
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = version;
sha256 = "11g740x1asy7jbfn52gp1zx7hzhklw6f97m469wgyi9yf954js15";
};
nativeBuildInputs = [
gtk3
];
propagatedBuildInputs = [
breeze-icons
hicolor-icon-theme
pantheon.elementary-icon-theme
];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
cp -a Luna* $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache "$theme"
done
runHook postInstall
'';
meta = with lib; {
description = "Icon pack based on marwaita and papirus icons";
homepage = "https://github.com/darkomarko42/Luna-Icons";
license = [ licenses.gpl3Only ];
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}