Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ikos: 3.2 -> 3.3 #342417

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 43 additions & 30 deletions pkgs/development/tools/analysis/ikos/default.nix
Original file line number Diff line number Diff line change
@@ -1,47 +1,60 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, boost, tbb
, gmp, llvm, clang, sqlite, python3
, ocamlPackages, mpfr, ppl, doxygen, graphviz
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
boost,
tbb,
gmp,
llvm,
clang,
sqlite,
python3,
ocamlPackages,
mpfr,
ppl,
doxygen,
graphviz,
}:

let
inherit (python3.pkgs)
setuptools
wheel
build
installer
wrapPython
pygments
;
in

stdenv.mkDerivation rec {
pname = "ikos";
version = "3.2";
version = "3.3";

src = fetchFromGitHub {
owner = "NASA-SW-VnV";
repo = "ikos";
rev = "v${version}";
hash = "sha256-zWWfmjYgqhAztGivAJwZ4+yRrAHxgU1CF1Y7vVr95UA=";
hash = "sha256-4/M0fyqvzdr0aBPCUuLiBgqMOrHEmikkIjQMB9KSrdo=";
};

patches = [
# Fix build with GCC 13
# https://github.com/NASA-SW-VnV/ikos/pull/262
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/NASA-SW-VnV/ikos/commit/73c816641fb9780f0d3b5e448510363a3cf21ce2.patch";
hash = "sha256-bkeSAtxrL+z+6QNiGOWSg7kN8XiZqMxlJiu5Dquhca0=";
})
# Fix an error in ikos-view; Pygments>=2.12 no longer passes outfile to wrap.
./formatter-wrap.patch
nativeBuildInputs = [
cmake
python3.pkgs.setuptools
python3.pkgs.wheel
python3.pkgs.build
python3.pkgs.installer
python3.pkgs.wrapPython
];

buildInputs = [
boost
tbb
gmp
clang
llvm
sqlite
python3
ocamlPackages.apron
mpfr
ppl
doxygen
graphviz
];

nativeBuildInputs = [ cmake setuptools wheel build installer wrapPython ];
buildInputs = [ boost tbb gmp clang llvm sqlite python3
ocamlPackages.apron mpfr ppl doxygen graphviz ];
propagatedBuildInputs = [
pygments
python3.pkgs.pygments
];

cmakeFlags = [
Expand Down
13 changes: 0 additions & 13 deletions pkgs/development/tools/analysis/ikos/formatter-wrap.patch

This file was deleted.