2020-03-22 09:27:27 +00:00
|
|
|
{ fetchFromGitHub
|
2021-01-11 07:54:33 +00:00
|
|
|
, lib, stdenv
|
2020-03-22 09:27:27 +00:00
|
|
|
, gnome3
|
2020-04-16 15:10:48 +01:00
|
|
|
, gnome-icon-theme
|
2020-03-22 09:27:27 +00:00
|
|
|
, hicolor-icon-theme
|
|
|
|
, gtk3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mint-y-icons";
|
2020-09-05 23:02:57 +01:00
|
|
|
version = "1.4.3";
|
2020-03-22 09:27:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
2020-09-05 23:02:57 +01:00
|
|
|
# commit is named 1.4.3, tags=404
|
|
|
|
rev = "c997af402d425889f2e4277966eebe473f7451f7";
|
|
|
|
sha256 = "0yfas949xm85a28vgjqm9ym3bhhynrq256w9vfs8aiqq9nbm18mf";
|
2020-03-22 09:27:27 +00:00
|
|
|
};
|
|
|
|
|
2020-04-16 15:10:48 +01:00
|
|
|
propagatedBuildInputs = [
|
2020-03-22 09:27:27 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2020-04-16 15:10:48 +01:00
|
|
|
gnome-icon-theme
|
2020-03-22 09:27:27 +00:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-04-16 15:10:48 +01:00
|
|
|
runHook preInstall
|
|
|
|
|
2020-03-22 09:27:27 +00:00
|
|
|
mkdir -p $out
|
|
|
|
mv usr/share $out
|
2020-04-16 15:10:48 +01:00
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
|
|
|
|
runHook postInstall
|
2020-03-22 09:27:27 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-22 09:27:27 +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-05 23:40:47 +01:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-03-22 09:27:27 +00:00
|
|
|
};
|
|
|
|
}
|