Skip to content

Commit

Permalink
Merge pull request #89401 from romildo/upd.mint-x-icons
Browse files Browse the repository at this point in the history
mint-x-icons: init at 1.5.5
  • Loading branch information
romildo committed Jun 4, 2020
2 parents f1e8c25 + 04094d7 commit c27e54d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
52 changes: 52 additions & 0 deletions pkgs/data/icons/mint-x-icons/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ stdenv
, fetchurl
, gnome-icon-theme
, gtk3
, hicolor-icon-theme
, humanity-icon-theme
, ubuntu-themes
}:

stdenv.mkDerivation rec {
pname = "mint-x-icons";
version = "1.5.5";

src = fetchurl {
url = "http://packages.linuxmint.com/pool/main/m/${pname}/${pname}_${version}.tar.xz";
sha256 = "0nq3si06m98b71f33wism0bvlvib57rm96msf0wx852ginw3a5yd";
};

nativeBuildInputs = [
gtk3
];

propagatedBuildInputs = [
gnome-icon-theme
hicolor-icon-theme
humanity-icon-theme
ubuntu-themes # provides the parent icon theme: ubuntu-mono-dark
];

dontDropIconThemeCache = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
cp -vai usr/share/icons/* $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
runHook postInstall
'';

meta = with stdenv.lib; {
description = "Mint/metal theme based on mintified versions of Clearlooks Revamp, Elementary and Faenza";
homepage = "https://github.com/linuxmint/mint-x-icons";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18155,6 +18155,8 @@ in

medio = callPackage ../data/fonts/medio { };

mint-x-icons = callPackage ../data/icons/mint-x-icons { };

mno16 = callPackage ../data/fonts/mno16 { };

mnist = callPackage ../data/machine-learning/mnist { };
Expand Down

0 comments on commit c27e54d

Please sign in to comment.