diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-08-17 08:12:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 08:12:41 -0300 |
commit | 4e2b0fe83375b452355610e7d16c9fc93ce4cb06 (patch) | |
tree | 739b3372f3e64cba08da99bdbadf6b42d9944703 /pkgs/data/icons | |
parent | 240db8476ad536da42190db1a6dc4e95065e4d48 (diff) | |
parent | 211edbc5d10a200efd0ba8dc3ad4bca50a118d6a (diff) |
Merge pull request #95334 from romildo/upd.luna-icons
luna-icons: init at 2020-08-09
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/luna-icons/default.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/data/icons/luna-icons/default.nix b/pkgs/data/icons/luna-icons/default.nix new file mode 100644 index 0000000000000..3125df5fe1cfa --- /dev/null +++ b/pkgs/data/icons/luna-icons/default.nix @@ -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 ]; + }; +} |