Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 sqlite, 5 pkg-config, 6 buildDunePackage, 7 dune-configurator, 8}: 9 10buildDunePackage rec { 11 pname = "sqlite3"; 12 version = "5.3.1"; 13 duneVersion = "3"; 14 minimalOCamlVersion = "4.12"; 15 16 src = fetchurl { 17 url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz"; 18 hash = "sha256-Ox8eZS4r6PbJh8nei52ftUyf25SKwIUMi5UEv4L+6mE="; 19 }; 20 21 nativeBuildInputs = [ pkg-config ]; 22 buildInputs = [ 23 dune-configurator 24 sqlite 25 ]; 26 27 meta = with lib; { 28 homepage = "http://mmottl.github.io/sqlite3-ocaml/"; 29 description = "OCaml bindings to the SQLite 3 database access library"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ 32 maggesi 33 vbgl 34 ]; 35 }; 36}