ocamlPackages.apron: 2016-01-25 → 0.9.12
This commit is contained in:
parent
990f64d5d7
commit
30fada894e
@ -1,18 +1,20 @@
|
||||
{ stdenv, fetchzip, perl, gmp, mpfr, ppl, ocaml, findlib, camlidl, mlgmpidl }:
|
||||
{ stdenv, fetchFromGitHub, perl, gmp, mpfr, ppl, ocaml, findlib, camlidl, mlgmpidl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-apron-${version}";
|
||||
version = "20160125";
|
||||
src = fetchzip {
|
||||
url = "http://apron.gforge.inria.fr/apron-${version}.tar.gz";
|
||||
sha256 = "1a7b7b9wsd0gdvm41lgg6ayb85wxc2a3ggcrghy4qiphs4b9v4m4";
|
||||
version = "0.9.12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "antoinemine";
|
||||
repo = "apron";
|
||||
rev = "v${version}";
|
||||
sha256 = "0bciv4wz52p57q0aggmvixvqrsd1slflfyrm1z6fy5c44f4fmjjn";
|
||||
};
|
||||
|
||||
buildInputs = [ perl gmp mpfr ppl ocaml findlib camlidl ];
|
||||
propagatedBuildInputs = [ mlgmpidl ];
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
createFindlibDestdir = true;
|
||||
preBuild = "mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs";
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
|
Loading…
Reference in New Issue
Block a user