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

30 lines
863 B
Nix
Raw Normal View History

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