cvise: 2.3.0 -> 2.4.0

Add new python3Packages.chardet dependency and switch to latest llvm.
cvise does a good job supporting llvm version range.
This commit is contained in:
Sergei Trofimovich 2021-10-31 20:23:34 +00:00
parent 627afe3c66
commit c7f31cfa6a
2 changed files with 6 additions and 5 deletions

View file

@ -1,17 +1,17 @@
{ lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex
, libclang, llvm, unifdef
, pebble, psutil, pytestCheckHook, pytest-flake8
, chardet, pebble, psutil, pytestCheckHook, pytest-flake8
}:
buildPythonApplication rec {
pname = "cvise";
version = "2.3.0";
version = "2.4.0";
src = fetchFromGitHub {
owner = "marxin";
repo = "cvise";
rev = "v${version}";
sha256 = "1x2i8nv0nncgvr07znhh2slngbrg8qcsz2zqx76bcyq9hssn6yal";
sha256 = "0cfzikkhp91hjgxjk3izzczb8d9p8v9zsfyk6iklk92n5qf1aakq";
};
patches = [
@ -21,7 +21,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ cmake flex llvm.dev ];
buildInputs = [ bash libclang llvm llvm.dev unifdef ];
propagatedBuildInputs = [ pebble psutil ];
propagatedBuildInputs = [ chardet pebble psutil ];
checkInputs = [ pytestCheckHook pytest-flake8 unifdef ];
# 'cvise --command=...' generates a script with hardcoded shebang.

View file

@ -14290,7 +14290,8 @@ with pkgs;
cvehound = callPackage ../development/tools/analysis/cvehound { };
cvise = python3Packages.callPackage ../development/tools/misc/cvise {
inherit (llvmPackages_11) llvm libclang;
# cvise keeps up with fresh llvm releases and supports wide version range
inherit (llvmPackages_latest) llvm libclang;
};
cwltool = callPackage ../applications/science/misc/cwltool { };