about summary refs log tree commit diff
path: root/pkgs/data/icons/numix-icon-theme-circle/default.nix
blob: a1594047af6e7cbae795de66f983d0d882be658d (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
32
33
{ stdenv, fetchFromGitHub, unzip }:

stdenv.mkDerivation rec {
  version = "129da4d8036c9ea52ba8b94cdfa0148e4c2cff96";

  package-name = "numix-icon-theme-circle";
  
  name = "${package-name}-20151014";

  buildInputs = [ unzip ];
  
  src = fetchFromGitHub {
    owner = "numixproject";
    repo = package-name;
    rev = version;
    sha256 = "1505j63qh96hy04x3ywc6kspavzgjd848cgdkda23kjdbx0fpij4";
  };

  dontBuild = true;

  installPhase = ''
    install -dm 755 $out/share/icons
    cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
  '';
  
  meta = with stdenv.lib; {
    description = "Numix icon theme (circle version)";
    homepage = https://numixproject.org;
    license = licenses.gpl3;
    platforms = platforms.all;
    maintainers = with maintainers; [ jgeerds ];
  };
}