ikos: 3.2 -> 3.3
Diff: https://github.com/NASA-SW-VnV/ikos/compare/v3.2...v3.3
This commit is contained in:
@@ -18,48 +18,26 @@
|
||||
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
|
||||
setuptools
|
||||
wheel
|
||||
build
|
||||
installer
|
||||
wrapPython
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.wheel
|
||||
python3.pkgs.build
|
||||
python3.pkgs.installer
|
||||
python3.pkgs.wrapPython
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
tbb
|
||||
@@ -74,8 +52,9 @@ stdenv.mkDerivation rec {
|
||||
doxygen
|
||||
graphviz
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygments
|
||||
python3.pkgs.pygments
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/analyzer/python/ikos/view.py b/analyzer/python/ikos/view.py
|
||||
index 4e9ed5d..6643db8 100644
|
||||
--- a/analyzer/python/ikos/view.py
|
||||
+++ b/analyzer/python/ikos/view.py
|
||||
@@ -422,7 +422,7 @@ class Formatter(HtmlFormatter):
|
||||
self.call_contexts = {}
|
||||
self.checks = {}
|
||||
|
||||
- def wrap(self, source, outfile):
|
||||
+ def wrap(self, source):
|
||||
return self._wrap_code(source)
|
||||
|
||||
def _wrap_code(self, source):
|
||||
Reference in New Issue
Block a user