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

42 lines
965 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, python3, gtk3, pantheon, gnome-icon-theme, hicolor-icon-theme }:
2016-06-10 14:24:44 +01:00
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "faba-icon-theme";
2018-06-29 16:04:48 +01:00
version = "4.3";
2016-06-10 14:24:44 +01:00
src = fetchFromGitHub {
owner = "moka-project";
repo = package-name;
2018-06-29 16:04:48 +01:00
rev = "v${version}";
sha256 = "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n";
2016-06-10 14:24:44 +01:00
};
nativeBuildInputs = [
meson
ninja
python3
gtk3
];
2016-06-10 14:24:44 +01:00
propagatedBuildInputs = [
pantheon.elementary-icon-theme
gnome-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
2016-06-10 14:24:44 +01:00
postPatch = ''
2018-06-29 16:04:48 +01:00
patchShebangs meson/post_install.py
2016-06-10 14:24:44 +01:00
'';
meta = with lib; {
2016-06-10 14:24:44 +01:00
description = "A sexy and modern icon theme with Tango influences";
homepage = "https://snwh.org/moka";
2016-06-10 14:24:44 +01:00
license = with licenses; [ cc-by-sa-40 gpl3 ];
platforms = platforms.all;
maintainers = with maintainers; [ romildo ];
};
}