2018-09-03 22:47:04 +01:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, gtk3, python3, faba-icon-theme }:
|
2016-06-10 14:25:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 11:12:37 +00:00
|
|
|
pname = "moka-icon-theme";
|
2018-06-20 20:58:28 +01:00
|
|
|
version = "5.4.0";
|
2016-06-10 14:25:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-10-14 11:33:23 +01:00
|
|
|
owner = "snwh";
|
2018-02-24 11:12:37 +00:00
|
|
|
repo = pname;
|
2017-06-28 02:52:00 +01:00
|
|
|
rev = "v${version}";
|
2018-06-20 20:58:28 +01:00
|
|
|
sha256 = "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd";
|
2016-06-10 14:25:14 +01:00
|
|
|
};
|
|
|
|
|
2018-09-03 22:47:04 +01:00
|
|
|
nativeBuildInputs = [ meson ninja gtk3 python3 faba-icon-theme ];
|
2016-06-10 14:25:14 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
2018-06-20 20:58:28 +01:00
|
|
|
patchShebangs meson/post_install.py
|
2016-06-10 14:25:14 +01: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 ];
|
2018-07-02 21:32:30 +01:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2016-06-10 14:25:14 +01:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|