nixpkgs/pkgs/data/icons/moka-icon-theme/default.nix
2017-06-27 22:52:00 -03:00

31 lines
843 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme }:
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "moka-icon-theme";
version = "5.3.6";
src = fetchFromGitHub {
owner = "snwh";
repo = package-name;
rev = "v${version}";
sha256 = "17f8k8z8xvib4hkxq0cw9j7bhdpqpv5frrkyc4sbyildcbavzzbr";
};
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 ];
};
}