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
10
, dejavu_fonts
11
11
, autoreconfHook
12
12
, CoreFoundation
13
13
+
, testers
13
14
}:
14
15
15
15
-
stdenv.mkDerivation rec {
16
16
+
stdenv.mkDerivation (finalAttrs: {
16
17
pname = "fontconfig";
17
18
version = "2.15.0";
18
19
19
20
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
20
21
21
22
src = fetchurl {
22
22
-
url = "https://www.freedesktop.org/software/fontconfig/release/${pname}-${version}.tar.xz";
23
23
+
url = with finalAttrs; "https://www.freedesktop.org/software/fontconfig/release/${pname}-${version}.tar.xz";
23
24
hash = "sha256-Y6BljQ4G4PqIYQZFK1jvBPIfWCAuoCqUw53g0zNdfA4=";
24
25
};
25
26
···
77
78
rm -r $bin/share/man/man3
78
79
'';
79
80
81
81
+
passthru.tests = {
82
82
+
pkg-config = testers.hasPkgConfigModules {
83
83
+
package = finalAttrs.finalPackage;
84
84
+
};
85
85
+
};
86
86
+
80
87
meta = with lib; {
81
88
description = "A library for font customization and configuration";
82
89
homepage = "http://fontconfig.org/";
83
90
license = licenses.bsd2; # custom but very bsd-like
84
91
platforms = platforms.all;
85
92
maintainers = with maintainers; teams.freedesktop.members ++ [ ];
93
93
+
pkgConfigModules = [ "fontconfig" ];
86
94
};
87
87
-
}
95
95
+
})