nixpkgs/pkgs/development/tools/analysis/ikos/default.nix

37 lines
915 B
Nix
Raw Normal View History

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-09-22 20:49:39 +01:00
buildInputs = [ cmake boost tbb gmp clang llvm sqlite python
2018-12-11 20:20:29 +00:00
ocamlPackages.apron mpfr ppl doxygen graphviz ];
cmakeFlags = [ "-DAPRON_ROOT=${ocamlPackages.apron}" ];
2018-12-11 20:20:29 +00:00
postBuild = "make doc";
meta = with lib; {
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 ];
};
}