Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 dune-configurator, 6 lapack, 7 blas, 8}: 9 10assert (!blas.isILP64) && (!lapack.isILP64); 11 12buildDunePackage rec { 13 pname = "lacaml"; 14 version = "11.1.1"; 15 16 useDune2 = true; 17 18 minimalOCamlVersion = "4.08"; 19 20 src = fetchurl { 21 url = "https://github.com/mmottl/lacaml/releases/download/${version}/lacaml-${version}.tbz"; 22 sha256 = "sha256-NEs7A/lfA+8AE6k19EPW02e1pseDE7HobGSB/ZwLcoc="; 23 }; 24 25 buildInputs = [ dune-configurator ]; 26 propagatedBuildInputs = [ 27 lapack 28 blas 29 ]; 30 31 meta = with lib; { 32 homepage = "https://mmottl.github.io/lacaml"; 33 description = "OCaml bindings for BLAS and LAPACK"; 34 license = licenses.lgpl21Plus; 35 maintainers = [ maintainers.vbgl ]; 36 }; 37}