From ce1a58e5ac1e7069758d8ab77f95f6c0a01a205f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Wed, 20 Jun 2018 16:58:28 -0300 Subject: [PATCH] moka-icon-theme: 5.3.6 -> 5.4.0 - Update to version 5.4.0 - Build with meson - Remove explicitly building of the icon cache, as it is built automatically now --- pkgs/data/icons/moka-icon-theme/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/data/icons/moka-icon-theme/default.nix b/pkgs/data/icons/moka-icon-theme/default.nix index f3180db54dc..e9d5e6fb063 100644 --- a/pkgs/data/icons/moka-icon-theme/default.nix +++ b/pkgs/data/icons/moka-icon-theme/default.nix @@ -1,25 +1,23 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme, gtk3 }: +{ stdenv, fetchFromGitHub, meson, ninja, gtk3, faba-icon-theme }: stdenv.mkDerivation rec { name = "${pname}-${version}"; pname = "moka-icon-theme"; - version = "5.3.6"; + version = "5.4.0"; src = fetchFromGitHub { owner = "snwh"; repo = pname; rev = "v${version}"; - sha256 = "17f8k8z8xvib4hkxq0cw9j7bhdpqpv5frrkyc4sbyildcbavzzbr"; + sha256 = "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"; }; - nativeBuildInputs = [ autoreconfHook faba-icon-theme gtk3 ]; + nativeBuildInputs = [ meson ninja gtk3 faba-icon-theme ]; postPatch = '' - substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out + patchShebangs meson/post_install.py ''; - postFixup = "gtk-update-icon-cache $out/share/icons/Moka"; - meta = with stdenv.lib; { description = "An icon theme designed with a minimal flat style using simple geometry and bright colours"; homepage = https://snwh.org/moka;