Merge pull request #95334 from romildo/upd.luna-icons

luna-icons: init at 2020-08-09
This commit is contained in:
José Romildo Malaquias 2020-08-17 08:12:41 -03:00 committed by GitHub
commit 4e2b0fe833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{ stdenv
, fetchFromGitHub
, gtk3
, breeze-icons
, hicolor-icon-theme
, pantheon
}:
stdenv.mkDerivation rec {
pname = "luna-icons";
version = "2020-08-09";
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = "d32aacabcc018212c460833327e1b54a716a5a23";
sha256 = "1f1ypxcvmd97afn7612i8gxmbrj80vx45vqrrh3n0p65jw5lg7zc";
};
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 stdenv.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 ];
};
}

View File

@ -18666,6 +18666,8 @@ in
luculent = callPackage ../data/fonts/luculent { }; luculent = callPackage ../data/fonts/luculent { };
luna-icons = callPackage ../data/icons/luna-icons { };
maia-icon-theme = callPackage ../data/icons/maia-icon-theme { }; maia-icon-theme = callPackage ../data/icons/maia-icon-theme { };
mailcap = callPackage ../data/misc/mailcap { }; mailcap = callPackage ../data/misc/mailcap { };