2020-09-25 04:45:31 +00:00
|
|
|
{ fetchFromGitHub
|
2021-12-06 16:07:01 +00:00
|
|
|
, lib
|
2022-12-02 08:20:57 +00:00
|
|
|
, stdenvNoCC
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-06-18 07:06:33 +00:00
|
|
|
, gnome-icon-theme
|
|
|
|
, hicolor-icon-theme
|
2020-09-25 04:45:31 +00:00
|
|
|
, gtk3
|
2020-06-18 07:06:33 +00:00
|
|
|
, humanity-icon-theme
|
|
|
|
, ubuntu-themes
|
|
|
|
}:
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-06-18 07:06:33 +00:00
|
|
|
pname = "mint-x-icons";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.6.4";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
2022-12-02 08:20:57 +00:00
|
|
|
rev = version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-cPRae3EjzVtAL1Ei2LB4UNUU/m87mFT94xY/NnNR6JM=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2020-06-18 07:06:33 +00:00
|
|
|
gnome-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
humanity-icon-theme
|
2020-09-25 04:45:31 +00:00
|
|
|
ubuntu-themes # provides ubuntu-mono-dark
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
2020-06-18 07:06:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
mkdir -p $out
|
|
|
|
mv usr/share $out
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-06-18 07:06:33 +00:00
|
|
|
homepage = "https://github.com/linuxmint/mint-x-icons";
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Mint/metal theme based on mintified versions of Clearlooks Revamp, Elementary and Faenza";
|
|
|
|
license = licenses.gpl3Plus; # from debian/copyright
|
2020-06-18 07:06:33 +00:00
|
|
|
platforms = platforms.linux;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
}
|