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