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
38 lines
741 B
Nix
38 lines
741 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
dune-configurator,
|
|
lapack,
|
|
blas,
|
|
}:
|
|
|
|
assert (!blas.isILP64) && (!lapack.isILP64);
|
|
|
|
buildDunePackage rec {
|
|
pname = "lacaml";
|
|
version = "11.1.1";
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mmottl/lacaml/releases/download/${version}/lacaml-${version}.tbz";
|
|
sha256 = "sha256-NEs7A/lfA+8AE6k19EPW02e1pseDE7HobGSB/ZwLcoc=";
|
|
};
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [
|
|
lapack
|
|
blas
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://mmottl.github.io/lacaml";
|
|
description = "OCaml bindings for BLAS and LAPACK";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = [ maintainers.vbgl ];
|
|
};
|
|
}
|