tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fontconfig: Add meta.pkgConfigModules
Rodney Lorrimar
2 years ago
6b3baaf8
c5a228e1
+11
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
fontconfig
default.nix
+11
-3
pkgs/development/libraries/fontconfig/default.nix
···
10
, dejavu_fonts
11
, autoreconfHook
12
, CoreFoundation
0
13
}:
14
15
-
stdenv.mkDerivation rec {
16
pname = "fontconfig";
17
version = "2.15.0";
18
19
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
20
21
src = fetchurl {
22
-
url = "https://www.freedesktop.org/software/fontconfig/release/${pname}-${version}.tar.xz";
23
hash = "sha256-Y6BljQ4G4PqIYQZFK1jvBPIfWCAuoCqUw53g0zNdfA4=";
24
};
25
···
77
rm -r $bin/share/man/man3
78
'';
79
0
0
0
0
0
0
80
meta = with lib; {
81
description = "A library for font customization and configuration";
82
homepage = "http://fontconfig.org/";
83
license = licenses.bsd2; # custom but very bsd-like
84
platforms = platforms.all;
85
maintainers = with maintainers; teams.freedesktop.members ++ [ ];
0
86
};
87
-
}
···
10
, dejavu_fonts
11
, autoreconfHook
12
, CoreFoundation
13
+
, testers
14
}:
15
16
+
stdenv.mkDerivation (finalAttrs: {
17
pname = "fontconfig";
18
version = "2.15.0";
19
20
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
21
22
src = fetchurl {
23
+
url = with finalAttrs; "https://www.freedesktop.org/software/fontconfig/release/${pname}-${version}.tar.xz";
24
hash = "sha256-Y6BljQ4G4PqIYQZFK1jvBPIfWCAuoCqUw53g0zNdfA4=";
25
};
26
···
78
rm -r $bin/share/man/man3
79
'';
80
81
+
passthru.tests = {
82
+
pkg-config = testers.hasPkgConfigModules {
83
+
package = finalAttrs.finalPackage;
84
+
};
85
+
};
86
+
87
meta = with lib; {
88
description = "A library for font customization and configuration";
89
homepage = "http://fontconfig.org/";
90
license = licenses.bsd2; # custom but very bsd-like
91
platforms = platforms.all;
92
maintainers = with maintainers; teams.freedesktop.members ++ [ ];
93
+
pkgConfigModules = [ "fontconfig" ];
94
};
95
+
})