From 92a734cf89e08e2e7194e5fc4d8b5953b63c64c5 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 29 Nov 2022 17:28:08 +0100 Subject: [PATCH] lisp-modules-new: Reorder alphabetically --- pkgs/development/lisp-modules-new/ql.nix | 209 ++++++++++++----------- 1 file changed, 105 insertions(+), 104 deletions(-) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index 88dfbddf2654..447933b04151 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -9,16 +9,38 @@ let # FIXME: automatically add nativeLibs based on conditions signalled + # Try to keep this list sorted extras = { + cffi-libffi = pkg: { + nativeBuildInputs = [ libffi ]; + nativeLibs = [ libffi ]; + }; "cl+ssl" = pkg: { nativeLibs = [ openssl_1_1 ]; }; + "cl-ana.hdf-cffi" = pkg: { + nativeBuildInputs = [ pkgs.hdf5 ]; + nativeLibs = [ pkgs.hdf5 ]; + NIX_LDFLAGS = [ "-lhdf5" ]; + }; + cl-async-ssl = pkg: { + nativeLibs = [ openssl_1_1 ]; + }; cl-cffi-gtk-glib = pkg: { nativeLibs = [ glib ]; }; cl-cffi-gtk-cairo = pkg: { nativeLibs = [ cairo ]; }; + cl-cffi-gtk-gdk = pkg: { + nativeLibs = [ gtk3 ]; + }; + cl-cffi-gtk-gdk-pixbuf = pkg: { + nativeLibs = [ gdk-pixbuf ]; + }; + cl-cffi-gtk-pango = pkg: { + nativeLibs = [ pango ]; + }; cl-cairo2 = pkg: { nativeLibs = [ cairo ]; }; @@ -30,8 +52,23 @@ let nativeBuildInputs = [ freetype ]; patches = [ ./patches/cl-freetype2-fix-grovel-includes.patch ]; }; - cl-pango = pkg: { - nativeLibs = [ pango ]; + cl-glfw = pkg: { + nativeLibs = [ glfw ]; + }; + cl-glfw-opengl-core = pkg: { + nativeLibs = [ libGL ]; + }; + cl-glfw3 = pkg: { + nativeLibs = [ glfw ]; + }; + cl-glu = pkg: { + nativeLibs = [ libGLU ]; + }; + cl-glut = pkg: { + nativeLibs = [ freeglut ]; + }; + cl-gobject-introspection = pkg: { + nativeLibs = [ glib gobject-introspection ]; }; cl-gtk2-gdk = pkg: { nativeLibs = [ gtk2-x11 ]; @@ -42,64 +79,23 @@ let cl-gtk2-pango = pkg: { nativeLibs = [ pango ]; }; - cl-rsvg2 = pkg: { - nativeLibs = [ librsvg ]; - }; - cl-cffi-gtk-gdk = pkg: { - nativeLibs = [ gtk3 ]; - }; - cl-cffi-gtk-gdk-pixbuf = pkg: { - nativeLibs = [ gdk-pixbuf ]; - }; - cl-cffi-gtk-pango = pkg: { - nativeLibs = [ pango ]; - }; - cl-gobject-introspection = pkg: { - nativeLibs = [ glib gobject-introspection ]; - }; - cl-mysql = pkg: { - nativeLibs = [ mariadb.client ]; - }; - clsql-postgresql = pkg: { - nativeLibs = [ postgresql.lib ]; - }; - clsql-sqlite3 = pkg: { - nativeLibs = [ sqlite ]; - }; - cl-webkit2 = pkg: { - nativeLibs = [ webkitgtk ]; - }; - dbd-mysql = pkg: { - nativeLibs = [ mariadb.client ]; - }; - lla = pkg: { - nativeLibs = [ openblas ]; - }; - cffi-libffi = pkg: { - nativeBuildInputs = [ libffi ]; - nativeLibs = [ libffi ]; - }; - cl-rabbit = pkg: { - nativeBuildInputs = [ rabbitmq-c ]; - nativeLibs = [ rabbitmq-c ]; - }; - trivial-ssh-libssh2 = pkg: { - nativeLibs = [ libssh2 ]; - }; - mssql = pkg: { - nativeLibs = [ freetds ]; - }; - sqlite = pkg: { - nativeLibs = [ sqlite ]; + cl-liballegro = pkg: { + # build doesnt fail without this, but fails on runtime + # weird... + nativeLibs = [ allegro5 ]; }; cl-libuv = pkg: { nativeBuildInputs = [ libuv ]; nativeLibs = [ libuv ]; }; - cl-liballegro = pkg: { - # build doesnt fail without this, but fails on runtime - # weird... - nativeLibs = [ allegro5 ]; + cl-libxml2 = pkg: { + nativeLibs = [ pkgs.libxml2 ]; + }; + cl-libyaml = pkg: { + nativeLibs = [ pkgs.libyaml ]; + }; + cl-mysql = pkg: { + nativeLibs = [ mariadb.client ]; }; cl-ode = pkg: { nativeLibs = let @@ -111,68 +107,72 @@ let }); in [ ode' ]; }; - classimp = pkg: { - nativeLibs = [ assimp ]; - }; - sdl2 = pkg: { - nativeLibs = [ SDL2 ]; - }; - lispbuilder-sdl-cffi = pkg: { - nativeLibs = [ SDL ]; - }; cl-opengl = pkg: { nativeLibs = [ libGL ]; }; - cl-glu = pkg: { - nativeLibs = [ libGLU ]; + cl-pango = pkg: { + nativeLibs = [ pango ]; }; - cl-glut = pkg: { - nativeLibs = [ freeglut ]; - }; - cl-glfw = pkg: { - nativeLibs = [ glfw ]; - }; - cl-glfw-opengl-core = pkg: { - nativeLibs = [ libGL ]; - }; - cl-glfw3 = pkg: { - nativeLibs = [ glfw ]; - }; - lev = pkg: { - nativeLibs = [ libev ]; + cl-rabbit = pkg: { + nativeBuildInputs = [ rabbitmq-c ]; + nativeLibs = [ rabbitmq-c ]; }; cl-rdkafka = pkg: { nativeBuildInputs = [ rdkafka ]; nativeLibs = [ rdkafka ]; }; - cl-async-ssl = pkg: { - nativeLibs = [ openssl_1_1 ]; + cl-readline = pkg: { + nativeLibs = [ pkgs.readline ]; }; - osicat = pkg: { - LD_LIBRARY_PATH = "${pkg}/posix/"; + cl-rsvg2 = pkg: { + nativeLibs = [ librsvg ]; + }; + "cl-sat.glucose" = pkg: { + propagatedBuildInputs = [ pkgs.glucose ]; + patches = [ ./patches/cl-sat.glucose-binary-from-PATH-if-present.patch ]; + + }; + "cl-sat.minisat" = pkg: { + propagatedBuildInputs = [ pkgs.minisat ]; + }; + cl-webkit2 = pkg: { + nativeLibs = [ webkitgtk ]; + }; + classimp = pkg: { + nativeLibs = [ assimp ]; + }; + clsql-postgresql = pkg: { + nativeLibs = [ postgresql.lib ]; + }; + clsql-sqlite3 = pkg: { + nativeLibs = [ sqlite ]; + }; + dbd-mysql = pkg: { + nativeLibs = [ mariadb.client ]; + }; + gsll = pkg: { + nativeBuildInputs = [ pkgs.gsl ]; + nativeLibs = [ pkgs.gsl ]; }; iolib = pkg: { nativeBuildInputs = [ libfixposix ]; nativeLibs = [ libfixposix ]; systems = [ "iolib" "iolib/os" "iolib/pathnames" ]; }; - "cl-ana.hdf-cffi" = pkg: { - nativeBuildInputs = [ pkgs.hdf5 ]; - nativeLibs = [ pkgs.hdf5 ]; - NIX_LDFLAGS = [ "-lhdf5" ]; + lev = pkg: { + nativeLibs = [ libev ]; }; - gsll = pkg: { - nativeBuildInputs = [ pkgs.gsl ]; - nativeLibs = [ pkgs.gsl ]; + lispbuilder-sdl-cffi = pkg: { + nativeLibs = [ SDL ]; }; - cl-libyaml = pkg: { - nativeLibs = [ pkgs.libyaml ]; + lla = pkg: { + nativeLibs = [ openblas ]; }; - cl-libxml2 = pkg: { - nativeLibs = [ pkgs.libxml2 ]; + mssql = pkg: { + nativeLibs = [ freetds ]; }; - cl-readline = pkg: { - nativeLibs = [ pkgs.readline ]; + osicat = pkg: { + LD_LIBRARY_PATH = "${pkg}/posix/"; }; pzmq = pkg: { nativeBuildInputs = [ pkgs.zeromq ]; @@ -190,16 +190,17 @@ let nativeBuildInputs = [ pkgs.zeromq ]; nativeLibs = [ pkgs.zeromq ]; }; + sdl2 = pkg: { + nativeLibs = [ SDL2 ]; + }; + sqlite = pkg: { + nativeLibs = [ sqlite ]; + }; trivial-package-manager = pkg: { propagatedBuildInputs = [ pkgs.which ]; }; - "cl-sat.glucose" = pkg: { - propagatedBuildInputs = [ pkgs.glucose ]; - patches = [ ./patches/cl-sat.glucose-binary-from-PATH-if-present.patch ]; - - }; - "cl-sat.minisat" = pkg: { - propagatedBuildInputs = [ pkgs.minisat ]; + trivial-ssh-libssh2 = pkg: { + nativeLibs = [ libssh2 ]; }; };