Commit a8f67ac8 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.mlgmpidl: 1.12.15 → 1.13.0

parent 2104e113
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
  pname = "ocaml${ocaml.version}-mlgmpidl";
  version = "1.2.15";
  version = "1.3.0";
  src = fetchFromGitHub {
    owner = "nberth";
    repo = "mlgmpidl";
    rev = version;
    sha256 = "sha256-85wy5eVWb5qdaa2lLDcfqlUTIY7vnN3nGMdxoj5BslU=";
    hash = "sha256-ZmSDKZiHko8MCeIuZL53HjupfwO6PAm8QOCc9O3xJOk=";
  };

  nativeBuildInputs = [ perl ocaml findlib camlidl ];
@@ -17,18 +17,11 @@ stdenv.mkDerivation rec {
  strictDeps = true;

  prefixKey = "-prefix ";
  configureFlags = [
    "--gmp-prefix ${gmp.dev}"
    "--mpfr-prefix ${mpfr.dev}"
    "-disable-profiling"
  ];

  postConfigure = ''
    substituteInPlace Makefile --replace "/bin/rm" "rm"
    mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
  '';


  meta = {
    description = "OCaml interface to the GMP library";
    homepage = "https://www.inrialpes.fr/pop-art/people/bjeannet/mlxxxidl-forge/mlgmpidl/";