lol
1{ stdenv, fetchFromGitHub, autoreconfHook, gtk3 }:
2
3stdenv.mkDerivation rec {
4 name = "${pname}-${version}";
5 pname = "paper-icon-theme";
6 version = "2017-11-20";
7
8 src = fetchFromGitHub {
9 owner = "snwh";
10 repo = pname;
11 rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
12 sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
13 };
14
15 nativeBuildInputs = [ autoreconfHook gtk3 ];
16
17 postFixup = ''
18 for theme in $out/share/icons/*; do
19 gtk-update-icon-cache $theme
20 done
21 '';
22
23 meta = with stdenv.lib; {
24 description = "Modern icon theme designed around bold colours and simple geometric shapes";
25 homepage = https://snwh.org/paper;
26 license = with licenses; [ cc-by-sa-40 lgpl3 ];
27 platforms = platforms.all;
28 maintainers = with maintainers; [ romildo ];
29 };
30}