From 04094d7d98876336fb2480b7fc08eaa5219fc00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Tue, 2 Jun 2020 08:52:50 -0300 Subject: [PATCH] mint-x-icons: init at 1.5.5 --- pkgs/data/icons/mint-x-icons/default.nix | 52 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/data/icons/mint-x-icons/default.nix diff --git a/pkgs/data/icons/mint-x-icons/default.nix b/pkgs/data/icons/mint-x-icons/default.nix new file mode 100644 index 000000000000..213ba877dc66 --- /dev/null +++ b/pkgs/data/icons/mint-x-icons/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c37d7359ad0d..123d3c7829ab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18187,6 +18187,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 { };