mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
866 B
Nix
29 lines
866 B
Nix
{ lib, fetchurl, buildDunePackage, ocaml
|
|
, cppo, logs, ptime, uri, bigstringaf
|
|
, re, cmdliner, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "caqti";
|
|
version = "1.9.1";
|
|
|
|
minimalOCamlVersion = "4.04";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/paurkedal/ocaml-caqti/releases/download/v${version}/caqti-v${version}.tbz";
|
|
sha256 = "sha256-PQBgJBNx3IcE6/vyNIf26a2xStU22LBhff8eM6UPaJ4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
propagatedBuildInputs = [ logs ptime uri bigstringaf ];
|
|
nativeCheckInputs = [ re cmdliner alcotest ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
meta = {
|
|
description = "Unified interface to relational database libraries";
|
|
license = "LGPL-3.0-or-later WITH OCaml-LGPL-linking-exception";
|
|
maintainers = with lib.maintainers; [ bcc32 ];
|
|
homepage = "https://github.com/paurkedal/ocaml-caqti";
|
|
};
|
|
}
|