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
This commit is contained in:
José Romildo Malaquias 2018-06-20 16:58:28 -03:00
parent a260b3d681
commit ce1a58e5ac

View file

@ -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;