nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 32 lines 817 B view raw
1{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigarray-compat, pkg-config }: 2 3buildDunePackage rec { 4 pname = "bigstringaf"; 5 version = "0.7.0"; 6 7 useDune2 = true; 8 9 minimumOCamlVersion = "4.03"; 10 11 src = fetchFromGitHub { 12 owner = "inhabitedtype"; 13 repo = pname; 14 rev = version; 15 sha256 = "1q1sqxzdnlrpl95ccrhl7lwy3zswgd9rbn19ildclh0lyi2vazbj"; 16 }; 17 18 # This currently fails with dune 19 strictDeps = false; 20 21 nativeBuildInputs = [ pkg-config ]; 22 checkInputs = [ alcotest ]; 23 propagatedBuildInputs = [ bigarray-compat ]; 24 doCheck = lib.versionAtLeast ocaml.version "4.05"; 25 26 meta = { 27 description = "Bigstring intrinsics and fast blits based on memcpy/memmove"; 28 license = lib.licenses.bsd3; 29 maintainers = [ lib.maintainers.vbgl ]; 30 inherit (src.meta) homepage; 31 }; 32}