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

stdenv.mkDerivation rec {
  name = "papirus-icon-theme-${version}";
  version = "20170715";

  src = fetchFromGitHub {
    owner = "PapirusDevelopmentTeam";
    repo = "papirus-icon-theme";
    rev = "${version}";
    sha256 = "0mpmgpjwc7azhypvrlnxaa0c4jc6g7vgy242apxrn8jcv9ndmwyk";
  };

  dontBuild = true;

  installPhase = ''
     install -dm 755 $out/share/icons
     cp -dr Papirus{,-Dark,-Light} $out/share/icons/
     cp -dr ePapirus $out/share/icons/
  '';

  meta = with stdenv.lib; {
    description = "Papirus icon theme for Linux";
    homepage = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme;
    license = licenses.lgpl3;
    platforms = platforms.all;
  };
}