Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.elina: init at 1.1

ELINA contains optimized implementations of popular numerical abstract domains
such as Polyhedra, Octagon and Zones for static analysis.

homepage: http://elina.ethz.ch/

authored by

Vincent Laporte and committed by
Vincent Laporte
b6ca91fb b26ba90c

+35
+33
pkgs/development/ocaml-modules/elina/default.nix
···
··· 1 + { stdenv, fetchurl, perl, gmp, mpfr, ocaml, findlib, camlidl, apron }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.1"; 5 + name = "ocaml${ocaml.version}-elina-${version}"; 6 + src = fetchurl { 7 + url = "http://files.sri.inf.ethz.ch/elina-${version}.tar.gz"; 8 + sha256 = "1nymykskq1yx87y4xl6hl9i4q6kv0qaq25rniqgl1bfn883p1ysc"; 9 + }; 10 + 11 + buildInputs = [ perl ocaml findlib ]; 12 + 13 + propagatedBuildInputs = [ apron camlidl gmp mpfr ]; 14 + 15 + prefixKey = "--prefix "; 16 + configureFlags = [ 17 + "--use-apron" 18 + "--use-opam" 19 + "--apron-prefix" "${apron}" 20 + ] 21 + ++ stdenv.lib.optional stdenv.isDarwin "--absolute-dylibs" 22 + ; 23 + 24 + createFindlibDestdir = true; 25 + 26 + meta = { 27 + description = "ETH LIbrary for Numerical Analysis"; 28 + homepage = "http://elina.ethz.ch/"; 29 + license = stdenv.lib.licenses.lgpl3; 30 + maintainers = [ stdenv.lib.maintainers.vbgl ]; 31 + inherit (ocaml.meta) platforms; 32 + }; 33 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 228 229 easy-format = callPackage ../development/ocaml-modules/easy-format { }; 230 231 eliom = callPackage ../development/ocaml-modules/eliom { 232 js_of_ocaml-lwt = js_of_ocaml-lwt.override { 233 ocaml_lwt = lwt3;
··· 228 229 easy-format = callPackage ../development/ocaml-modules/easy-format { }; 230 231 + elina = callPackage ../development/ocaml-modules/elina { }; 232 + 233 eliom = callPackage ../development/ocaml-modules/eliom { 234 js_of_ocaml-lwt = js_of_ocaml-lwt.override { 235 ocaml_lwt = lwt3;