about summary refs log tree commit diff
path: root/pkgs/data/icons/faba-icon-theme/default.nix
blob: b83abbe7e80c6b1aa4f5ffe46706f6a0e3b11522 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchFromGitHub, autoreconfHook, elementary-icon-theme }:

stdenv.mkDerivation rec {
  name = "${package-name}-${version}";
  package-name = "faba-icon-theme";
  version = "2016-06-02";

  src = fetchFromGitHub {
    owner = "moka-project";
    repo = package-name;
    rev = "e50649d0171fd8cce42404c7c5002d77710ffcfc";
    sha256 = "1fn969a6l58asnl9181c2z1fsj4dybl2mgbcpwig20bri6q7yz20";
  };

  nativeBuildInputs = [ autoreconfHook ];

  buildInputs = [ elementary-icon-theme ];

  postPatch = ''
    substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
  '';

  meta = with stdenv.lib; {
    description = "A sexy and modern icon theme with Tango influences";
    homepage = https://snwh.org/moka;
    license = with licenses; [ cc-by-sa-40 gpl3 ];
    platforms = platforms.all;
    maintainers = with maintainers; [ romildo ];
  };
}