2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-08-13 13:57:00 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, gtk3
|
|
|
|
, breeze-icons
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, pantheon
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "luna-icons";
|
2021-03-14 17:38:26 +00:00
|
|
|
version = "1.1";
|
2020-08-13 13:57:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darkomarko42";
|
|
|
|
repo = pname;
|
2020-09-21 23:33:14 +01:00
|
|
|
rev = version;
|
2021-03-14 17:38:26 +00:00
|
|
|
sha256 = "11g740x1asy7jbfn52gp1zx7hzhklw6f97m469wgyi9yf954js15";
|
2020-08-13 13:57:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
2020-09-21 23:33:14 +01:00
|
|
|
gtk-update-icon-cache "$theme"
|
2020-08-13 13:57:00 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-13 13:57:00 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|