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