1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/data/icons/moka-icon-theme/default.nix

41 lines
966 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, meson, ninja, gtk3, python3, faba-icon-theme, hicolor-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";
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
];
2016-06-10 14:25:14 +01:00
propagatedBuildInputs = [
faba-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
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";
2016-06-10 14:25:14 +01:00
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 ];
};
}