1 { pkgs, build-asdf-system, fixup ? pkgs.lib.id, ... }:
10 # FIXME: automatically add nativeLibs based on conditions signalled
14 nativeLibs = [ openssl_1_1 ];
16 cl-cffi-gtk-glib = pkg: {
17 nativeLibs = [ glib ];
19 cl-cffi-gtk-cairo = pkg: {
20 nativeLibs = [ cairo ];
22 cl-cffi-gtk-gdk = pkg: {
23 nativeLibs = [ gtk3 ];
25 cl-cffi-gtk-gdk-pixbuf = pkg: {
26 nativeLibs = [ gdk-pixbuf ];
28 cl-cffi-gtk-pango = pkg: {
29 nativeLibs = [ pango ];
31 cl-gobject-introspection = pkg: {
32 nativeLibs = [ glib gobject-introspection ];
35 nativeLibs = [ mariadb.client ];
37 clsql-postgresql = pkg: {
38 nativeLibs = [ postgresql.lib ];
40 clsql-sqlite3 = pkg: {
41 nativeLibs = [ sqlite ];
44 nativeLibs = [ webkitgtk ];
47 nativeLibs = [ mariadb.client ];
50 nativeLibs = [ openblas ];
53 nativeBuildInputs = [ libffi ];
54 nativeLibs = [ libffi ];
57 nativeBuildInputs = [ rabbitmq-c ];
58 nativeLibs = [ rabbitmq-c ];
60 trivial-ssh-libssh2 = pkg: {
61 nativeLibs = [ libssh2 ];
64 nativeLibs = [ freetds ];
67 nativeLibs = [ sqlite ];
70 nativeBuildInputs = [ libuv ];
71 nativeLibs = [ libuv ];
73 cl-liballegro = pkg: {
74 # build doesnt fail without this, but fails on runtime
76 nativeLibs = [ allegro5 ];
80 ode' = ode.overrideAttrs (o: {
83 "--enable-double-precision"
89 nativeLibs = [ assimp ];
92 nativeLibs = [ SDL2 ];
94 lispbuilder-sdl-cffi = pkg: {
98 nativeLibs = [ libGL ];
101 nativeLibs = [ libGLU ];
104 nativeLibs = [ freeglut ];
107 nativeLibs = [ glfw ];
109 cl-glfw-opengl-core = pkg: {
110 nativeLibs = [ libGL ];
113 nativeLibs = [ glfw ];
116 nativeLibs = [ libev ];
119 nativeBuildInputs = [ rdkafka ];
120 nativeLibs = [ rdkafka ];
122 cl-async-ssl = pkg: {
123 nativeLibs = [ openssl_1_1 ];
126 LD_LIBRARY_PATH = "${pkg}/posix/";
129 nativeBuildInputs = [ libfixposix ];
130 nativeLibs = [ libfixposix ];
131 systems = [ "iolib" "iolib/os" "iolib/pathnames" ];
136 if builtins.pathExists ./imported.nix
137 then import ./imported.nix { inherit (pkgs) runCommand fetchzip; pkgs = builtQlpkgs; }
140 builtQlpkgs = mapAttrs (n: v: build v) qlpkgs;
144 builtPkg = build-asdf-system pkg;
147 (hasAttr pkg.pname extras)
148 (extras.${pkg.pname} builtPkg));
149 fixedUp = fixup withExtras;
150 in build-asdf-system fixedUp;