tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
paper-icon-theme: build GTK icon cache
Yegor Timoshenko
8 years ago
09b54dec
466d0519
+11
-5
1 changed file
expand all
collapse all
unified
split
pkgs
data
icons
paper-icon-theme
default.nix
+11
-5
pkgs/data/icons/paper-icon-theme/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, autoreconfHook }:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3 }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "${package-name}-${version}";
5
5
-
package-name = "paper-icon-theme";
4
4
+
name = "${pname}-${version}";
5
5
+
pname = "paper-icon-theme";
6
6
version = "2017-11-20";
7
7
8
8
src = fetchFromGitHub {
9
9
owner = "snwh";
10
10
-
repo = package-name;
10
10
+
repo = pname;
11
11
rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
12
12
sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
13
13
};
14
14
15
15
-
nativeBuildInputs = [ autoreconfHook ];
15
15
+
nativeBuildInputs = [ autoreconfHook gtk3 ];
16
16
+
17
17
+
postFixup = ''
18
18
+
for theme in $out/share/icons/*; do
19
19
+
gtk-update-icon-cache $theme
20
20
+
done
21
21
+
'';
16
22
17
23
meta = with stdenv.lib; {
18
24
description = "Modern icon theme designed around bold colours and simple geometric shapes";