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