Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
angstrom,
|
|
bigstringaf,
|
|
domain-name,
|
|
dune-site,
|
|
ipaddr,
|
|
logs,
|
|
lru,
|
|
lwt-dllist,
|
|
mtime,
|
|
ptime,
|
|
uri,
|
|
stdenv,
|
|
darwin,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "caqti";
|
|
version = "2.2.4";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/paurkedal/ocaml-caqti/releases/download/v${version}/caqti-v${version}.tbz";
|
|
hash = "sha256-uOpDKCAVTsCVEyxPeyRLBs2FU+CyA1GFuETZxPMK+Ls=";
|
|
};
|
|
|
|
buildInputs = [ dune-site ];
|
|
propagatedBuildInputs = [
|
|
angstrom
|
|
bigstringaf
|
|
domain-name
|
|
ipaddr
|
|
logs
|
|
lru
|
|
lwt-dllist
|
|
mtime
|
|
ptime
|
|
uri
|
|
];
|
|
|
|
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ];
|
|
|
|
# Checks depend on caqti-driver-sqlite3 (circural dependency)
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Unified interface to relational database libraries";
|
|
license = with lib.licenses; [
|
|
lgpl3Plus
|
|
ocamlLgplLinkingException
|
|
];
|
|
maintainers = with lib.maintainers; [ bcc32 ];
|
|
homepage = "https://github.com/paurkedal/ocaml-caqti";
|
|
};
|
|
}
|