2020-04-24 23:36:52 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, stdenv
|
|
|
|
, gnome3
|
2020-05-03 17:38:23 +00:00
|
|
|
, gnome-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
, hicolor-icon-theme
|
|
|
|
, gtk3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mint-y-icons";
|
|
|
|
version = "unstable-2020-03-21";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = "f169a617bc344cb0b480b2b72f54cdd06af05255";
|
|
|
|
sha256 = "1c2a79ylk363i982czwwqcwc7cw6dyzlqphcypqm6nll7xlafq8s";
|
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
gnome3.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
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = [ maintainers.mkg20001 ];
|
|
|
|
};
|
|
|
|
}
|