Unverified Commit dd704b8b authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.lacaml: small cleaning

parent 2146823f
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -9,17 +9,13 @@

assert (!blas.isILP64) && (!lapack.isILP64);

buildDunePackage rec {
buildDunePackage (finalAttrs: {
  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=";
    url = "https://github.com/mmottl/lacaml/releases/download/${finalAttrs.version}/lacaml-${finalAttrs.version}.tbz";
    hash = "sha256-NEs7A/lfA+8AE6k19EPW02e1pseDE7HobGSB/ZwLcoc=";
  };

  buildInputs = [ dune-configurator ];
@@ -28,10 +24,10 @@ buildDunePackage rec {
    blas
  ];

  meta = with lib; {
  meta = {
    homepage = "https://mmottl.github.io/lacaml";
    description = "OCaml bindings for BLAS and LAPACK";
    license = licenses.lgpl21Plus;
    maintainers = [ maintainers.vbgl ];
    license = lib.licenses.lgpl21Plus;
    maintainers = [ lib.maintainers.vbgl ];
  };
}
})