Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 28 lines 715 B view raw
1{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, postgresql }: 2 3buildDunePackage rec { 4 pname = "postgresql"; 5 version = "5.0.0"; 6 7 useDune2 = true; 8 9 minimumOCamlVersion = "4.08"; 10 11 src = fetchFromGitHub { 12 owner = "mmottl"; 13 repo = "postgresql-ocaml"; 14 rev = version; 15 sha256 = "1i4pnh2v00i0s7s9pcwz1x6s4xcd77d08gjjkvy0fmda6mqq6ghn"; 16 }; 17 18 nativeBuildInputs = [ postgresql ]; 19 buildInputs = [ dune-configurator ]; 20 propagatedBuildInputs = [ postgresql ]; 21 22 meta = { 23 description = "Bindings to the PostgreSQL library"; 24 license = lib.licenses.lgpl21Plus; 25 maintainers = with lib.maintainers; [ bcc32 ]; 26 homepage = "https://mmottl.github.io/postgresql-ocaml"; 27 }; 28}