Commit 9063e1b2 authored by Luke Gorrie's avatar Luke Gorrie
Browse files

lisp-modules.duckdb: init

Add cl-duckdb, the Common Lisp binding to duckdb.

This package is not yet included in Quicklisp.

Includes the test and benchmark suites and their modest dependencies.
Both execute successfully on sbcl/x86_64-linux.
parent c70dabd9
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -550,6 +550,35 @@ let
    ];
  };

  duckdb = build-asdf-system {
    pname = "duckdb";
    version = "trunk";
    src = pkgs.fetchFromGitHub {
      owner = "ak-coram";
      repo = "cl-duckdb";
      rev = "2f0df62f59fbede0addd8d72cf286f4007818a3e";
      hash = "sha256-+jeOuXtCFZwMvF0XvlRaqTNHIAAFKMx6y1pz6u8Wxug=";
    };
    systems = [ "duckdb" "duckdb/test" "duckdb/benchmark" ];
    lispLibs = with super; [
      bordeaux-threads
      cffi-libffi
      cl-ascii-table
      cl-spark
      fiveam
      local-time
      local-time-duration
      periods
      trivial-benchmark
      serapeum
      str
      uuid
    ];
    nativeLibs = with pkgs; [
      duckdb libffi
    ];
  };

  });

in packages