2020-04-24 23:36:52 +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-05-03 17:38:23 +00:00
|
|
|
, gnome-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
, hicolor-icon-theme
|
|
|
|
, gtk3
|
|
|
|
}:
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "mint-y-icons";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
2022-12-02 08:20:57 +00:00
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-8dwJyvM5sQNtUzhreBCgSWeElGlp/z3Dk7/xCeUSGKU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2020-05-03 17:38:23 +00:00
|
|
|
gnome-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-05-03 17:38:23 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
mkdir -p $out
|
|
|
|
mv usr/share $out
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/linuxmint/mint-y-icons";
|
|
|
|
description = "The Mint-Y icon theme";
|
|
|
|
license = licenses.gpl3; # from debian/copyright
|
|
|
|
platforms = platforms.linux;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|