nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 743 B view raw
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 = { 28 homepage = "http://mmottl.github.io/sqlite3-ocaml/"; 29 description = "OCaml bindings to the SQLite 3 database access library"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ 32 vbgl 33 ]; 34 }; 35}