From 4e44a330cb0ee3a13ee2372293fedf54f354b66e Mon Sep 17 00:00:00 2001 From: José Romildo Malaquias Date: Fri, 10 Jun 2016 10:25:14 -0300 Subject: moka-icon-theme: init at 2016-06-07 --- pkgs/data/icons/moka-icon-theme/default.nix | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/data/icons/moka-icon-theme/default.nix (limited to 'pkgs/data') diff --git a/pkgs/data/icons/moka-icon-theme/default.nix b/pkgs/data/icons/moka-icon-theme/default.nix new file mode 100644 index 000000000000..4d98a50c0c4b --- /dev/null +++ b/pkgs/data/icons/moka-icon-theme/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme }: + +stdenv.mkDerivation rec { + name = "${package-name}-${version}"; + package-name = "moka-icon-theme"; + version = "2016-06-07"; + + src = fetchFromGitHub { + owner = "moka-project"; + repo = package-name; + rev = "a03d14e30dbdf05e8ea904994b8081ad0824e155"; + sha256 = "1j1cnrrg0gfr4vfzxlabrv8090fg4yni99g61s82vnyszkiy1rcm"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + buildInputs = [ faba-icon-theme ]; + + postPatch = '' + substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out + ''; + + 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 ]; + platforms = platforms.all; + maintainers = with maintainers; [ romildo ]; + }; +} -- cgit 1.4.1