nixpkgs/pkgs/data/icons/moka-icon-theme/default.nix

35 lines
942 B
Nix
Raw Normal View History

{ 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";
version = "5.4.0";
2016-06-10 15:25:14 +02:00
src = fetchFromGitHub {
owner = "snwh";
2018-02-24 12:12:37 +01:00
repo = pname;
2017-06-28 03:52:00 +02:00
rev = "v${version}";
sha256 = "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd";
2016-06-10 15:25:14 +02:00
};
nativeBuildInputs = [ meson ninja gtk3 python3 faba-icon-theme ];
2016-06-10 15:25:14 +02:00
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
2016-06-10 15:25:14 +02:00
postPatch = ''
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 ];
# 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 ];
};
}