tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
faba-mono-icons: build GTK icon cache
Yegor Timoshenko
8 years ago
c087641f
ede5f2cb
+11
-7
1 changed file
expand all
collapse all
unified
split
pkgs
data
icons
faba-mono-icons
default.nix
+11
-7
pkgs/data/icons/faba-mono-icons/default.nix
···
1
-
{ stdenv, fetchFromGitHub, autoreconfHook, moka-icon-theme }:
2
3
stdenv.mkDerivation rec {
4
-
name = "${package-name}-${version}";
5
-
package-name = "faba-mono-icons";
6
version = "2016-04-30";
7
8
src = fetchFromGitHub {
9
owner = "snwh";
10
-
repo = package-name;
11
rev = "2006c5281eb988c799068734f289a85443800cda";
12
sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9";
13
};
14
15
-
nativeBuildInputs = [ autoreconfHook ];
16
17
-
buildInputs = [ moka-icon-theme ];
0
0
0
0
18
19
meta = with stdenv.lib; {
20
description = "The full set of Faba monochrome panel icons";
21
homepage = https://snwh.org/moka;
22
-
license = with licenses; [ gpl3 ];
23
platforms = platforms.all;
24
maintainers = with maintainers; [ romildo ];
25
};
···
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }:
2
3
stdenv.mkDerivation rec {
4
+
name = "${pname}-${version}";
5
+
pname = "faba-mono-icons";
6
version = "2016-04-30";
7
8
src = fetchFromGitHub {
9
owner = "snwh";
10
+
repo = pname;
11
rev = "2006c5281eb988c799068734f289a85443800cda";
12
sha256 = "0nisfl92y6hrbakp9qxi0ygayl6avkzrhwirg6854bwqjy2dvjv9";
13
};
14
15
+
nativeBuildInputs = [ autoreconfHook gtk3 moka-icon-theme ];
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 = "The full set of Faba monochrome panel icons";
25
homepage = https://snwh.org/moka;
26
+
license = licenses.gpl3;
27
platforms = platforms.all;
28
maintainers = with maintainers; [ romildo ];
29
};