2018-02-24 12:12:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme, gtk3 }:
|
2016-06-10 15:25:14 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 12:12:37 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "moka-icon-theme";
|
2017-06-28 03:52:00 +02:00
|
|
|
version = "5.3.6";
|
2016-06-10 15:25:14 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-10-14 12:33:23 +02:00
|
|
|
owner = "snwh";
|
2018-02-24 12:12:37 +01:00
|
|
|
repo = pname;
|
2017-06-28 03:52:00 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "17f8k8z8xvib4hkxq0cw9j7bhdpqpv5frrkyc4sbyildcbavzzbr";
|
2016-06-10 15:25:14 +02:00
|
|
|
};
|
|
|
|
|
2018-02-24 12:12:37 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook faba-icon-theme gtk3 ];
|
2016-06-10 15:25:14 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
|
|
|
|
'';
|
|
|
|
|
2018-02-24 12:12:37 +01:00
|
|
|
postFixup = "gtk-update-icon-cache $out/share/icons/Moka";
|
|
|
|
|
2016-06-10 15:25:14 +02:00
|
|
|
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;
|
|
|
|
license = with licenses; [ cc-by-sa-40 gpl3 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|