diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-05-05 22:27:40 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-05-05 22:42:39 +0800 |
commit | 32270f094e4975a9fbbe2d8994c7db39deeacf26 (patch) | |
tree | 36ea6530773d6d8096bf8d1ba3a10acbd7e4aac0 /pkgs/desktops/cinnamon/mint-l-icons | |
parent | 0d8145a5d81ebf6698077b21042380a3a66a11c7 (diff) |
cinnamon.mint-l-icons: init at 1.6.4
https://github.com/linuxmint/mint-l-icons/commits/1.6.4
Diffstat (limited to 'pkgs/desktops/cinnamon/mint-l-icons')
-rw-r--r-- | pkgs/desktops/cinnamon/mint-l-icons/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/mint-l-icons/default.nix b/pkgs/desktops/cinnamon/mint-l-icons/default.nix new file mode 100644 index 0000000000000..4a1da745059fc --- /dev/null +++ b/pkgs/desktops/cinnamon/mint-l-icons/default.nix @@ -0,0 +1,53 @@ +{ stdenvNoCC +, lib +, fetchFromGitHub +, gnome +, gnome-icon-theme +, hicolor-icon-theme +, gtk3 +}: + +stdenvNoCC.mkDerivation rec { + pname = "mint-l-icons"; + version = "1.6.4"; + + src = fetchFromGitHub { + owner = "linuxmint"; + repo = pname; + rev = version; + hash = "sha256-C6BnBIOKeewsaQPPXWWo70eQpO1pJS0+xVQghPj/TTE="; + }; + + propagatedBuildInputs = [ + gnome.adwaita-icon-theme + gnome-icon-theme + hicolor-icon-theme + ]; + + nativeBuildInputs = [ + gtk3 + ]; + + dontDropIconThemeCache = true; + + installPhase = '' + runHook preInstall + + mkdir -p $out + mv usr/share $out + + for theme in $out/share/icons/*; do + gtk-update-icon-cache $theme + done + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/linuxmint/mint-l-icons"; + description = "Mint-L icon theme"; + license = licenses.gpl3Plus; # from debian/copyright + platforms = platforms.linux; + maintainers = teams.cinnamon.members; + }; +} |