summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/fa/faba-icon-theme/package.nix
blob: 0b8e881584ca9c58950cccdff09d34048b977143 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
  lib,
  stdenvNoCC,
  fetchFromGitHub,
  meson,
  ninja,
  python3,
  gtk3,
  pantheon,
  hicolor-icon-theme,
}:

stdenvNoCC.mkDerivation rec {
  pname = "faba-icon-theme";
  version = "4.3";

  src = fetchFromGitHub {
    owner = "snwh";
    repo = "faba-icon-theme";
    rev = "v${version}";
    sha256 = "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n";
  };

  nativeBuildInputs = [
    meson
    ninja
    python3
    gtk3
  ];

  propagatedBuildInputs = [
    pantheon.elementary-icon-theme
    hicolor-icon-theme
  ];

  dontDropIconThemeCache = true;

  postPatch = ''
    patchShebangs meson/post_install.py
  '';

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