summary refs log tree commit diff
path: root/pkgs/data/icons/maia-icon-theme/default.nix
blob: f4f81f8de8befcce1d1faf3eda661107fa576496 (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
31
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "maia-icon-theme-${version}";
  version = "2016-09-16";

  src = fetchFromGitHub {
    owner = "manjaro";
    repo = "artwork-maia";
    rev = "f6718cd9c383adb77af54b694c47efa4d581f5b5";
    sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj";
  };

  dontBuild = true;
  
  installPhase = ''
    install -dm 755 $out/share/icons
    for f in "" "-dark"; do
      rm icons$f/CMakeLists.txt
      cp -dr --no-preserve='ownership' icons$f $out/share/icons/maia$f
    done
  '';

  meta = with stdenv.lib; {
    description = "Icons based on Breeze and Super Flat Remix";
    homepage = https://github.com/manjaro/artwork-maia;
    license = licenses.free;
    maintainers = [ maintainers.mounium ];
    platforms = platforms.all;
  };
}