nixpkgs/pkgs/desktops/cinnamon/mint-x-icons/default.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

2020-09-06 16:58:51 +02:00
{ fetchFromGitHub
2021-11-29 17:34:50 +01:00
, lib
, stdenv
, gnome
2020-09-06 16:58:51 +02:00
, gnome-icon-theme
, hicolor-icon-theme
, gtk3
, humanity-icon-theme
, ubuntu-themes
}:
stdenv.mkDerivation rec {
pname = "mint-x-icons";
2021-11-24 10:15:50 +01:00
version = "1.6.3";
2020-09-06 16:58:51 +02:00
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
2021-11-24 10:15:50 +01:00
# they don't exactly do tags, it's just a named commit
rev = "286eb4acdfc3e3c77572dfd0cd70ffd4208d3a35";
hash = "sha256-mZkCEBC1O2mW8rM1kpOWdC5CwIeafyBS95cMY6x1yco=";
2020-09-06 16:58:51 +02:00
};
propagatedBuildInputs = [
gnome.adwaita-icon-theme
2020-09-06 16:58:51 +02:00
gnome-icon-theme
hicolor-icon-theme
humanity-icon-theme
ubuntu-themes # provides ubuntu-mono-dark
];
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; {
2020-09-06 16:58:51 +02:00
homepage = "https://github.com/linuxmint/mint-x-icons";
description = "Mint/metal theme based on mintified versions of Clearlooks Revamp, Elementary and Faenza";
license = licenses.gpl3Plus; # from debian/copyright
platforms = platforms.linux;
maintainers = teams.cinnamon.members;
};
}