2016-06-10 15:25:14 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${package-name}-${version}";
|
|
|
|
package-name = "moka-icon-theme";
|
2016-10-14 12:33:23 +02:00
|
|
|
version = "2016-10-06";
|
2016-06-10 15:25:14 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-10-14 12:33:23 +02:00
|
|
|
owner = "snwh";
|
2016-06-10 15:25:14 +02:00
|
|
|
repo = package-name;
|
2016-10-14 12:33:23 +02:00
|
|
|
rev = "50894ee9411721649019cd168b8ae2c85f4b5cf0";
|
|
|
|
sha256 = "1dlpsgqsn731ra5drkx72wljcgv1zydgldy4nn5bbia9s5w8mfgs";
|
2016-06-10 15:25:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ faba-icon-theme ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|