summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/apron
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2016-10-12 12:35:21 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-01-14 09:34:34 +0000
commit67a583333057efd0ba1b16af6388881c365c703e (patch)
treecdb79fe01996533815049d0e5ce084e90c000e04 /pkgs/development/ocaml-modules/apron
parent2f2fbc9966f56789d6f513ba7d57cea6b5797d7c (diff)
downloadnixpkgs-67a583333057efd0ba1b16af6388881c365c703e.tar
nixpkgs-67a583333057efd0ba1b16af6388881c365c703e.tar.gz
nixpkgs-67a583333057efd0ba1b16af6388881c365c703e.tar.bz2
nixpkgs-67a583333057efd0ba1b16af6388881c365c703e.tar.lz
nixpkgs-67a583333057efd0ba1b16af6388881c365c703e.tar.xz
nixpkgs-67a583333057efd0ba1b16af6388881c365c703e.tar.zst
nixpkgs-67a583333057efd0ba1b16af6388881c365c703e.zip
ocamlPackages.apron: init at 20160125
APRON is an OCaml library of numerical abstract domains

Homepage: http://apron.cri.ensmp.fr/library/
Diffstat (limited to 'pkgs/development/ocaml-modules/apron')
-rw-r--r--pkgs/development/ocaml-modules/apron/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/apron/default.nix b/pkgs/development/ocaml-modules/apron/default.nix
new file mode 100644
index 00000000000..0e73c6a73d3
--- /dev/null
+++ b/pkgs/development/ocaml-modules/apron/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchzip, 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";
+  };
+
+  buildInputs = [ perl gmp mpfr ppl ocaml findlib camlidl ];
+  propagatedBuildInputs = [ mlgmpidl ];
+
+  prefixKey = "-prefix ";
+  createFindlibDestdir = true;
+
+  meta = {
+    license = stdenv.lib.licenses.lgpl21;
+    homepage = http://apron.cri.ensmp.fr/library/;
+    maintainers = [ stdenv.lib.maintainers.vbgl ];
+    description = "Numerical abstract domain library";
+    inherit (ocaml.meta) platforms;
+  };
+}