2020-09-22 21:49:39 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake, boost, tbb
|
2018-12-11 21:20:29 +01:00
|
|
|
, gmp, llvm, clang, sqlite, python3
|
|
|
|
, ocamlPackages, mpfr, ppl, doxygen, graphviz
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
python = python3.withPackages (ps: with ps; [
|
|
|
|
pygments
|
|
|
|
]);
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ikos";
|
2020-09-22 21:49:39 +02:00
|
|
|
version = "3.0";
|
2018-12-11 21:20:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NASA-SW-VnV";
|
|
|
|
repo = name;
|
|
|
|
rev = "v${version}";
|
2020-09-22 21:49:39 +02:00
|
|
|
sha256 = "0k3kp1af0qx3l1x6a4sl4fm8qlwchjvwkvs2ck0fhfnc62q2im5f";
|
2018-12-11 21:20:29 +01:00
|
|
|
};
|
|
|
|
|
2020-09-22 21:49:39 +02:00
|
|
|
buildInputs = [ cmake boost tbb gmp clang llvm sqlite python
|
2018-12-11 21:20:29 +01:00
|
|
|
ocamlPackages.apron mpfr ppl doxygen graphviz ];
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
cmakeFlags = [ "-DAPRON_ROOT=${ocamlPackages.apron}" ];
|
2018-12-11 21:20:29 +01:00
|
|
|
|
|
|
|
postBuild = "make doc";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/NASA-SW-VnV/ikos";
|
2018-12-11 21:20:29 +01:00
|
|
|
description = "Static analyzer for C/C++ based on the theory of Abstract Interpretation";
|
|
|
|
license = licenses.nasa13;
|
|
|
|
maintainers = with maintainers; [ atnnn ];
|
|
|
|
};
|
|
|
|
}
|