mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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:
parent
627afe3c66
commit
c7f31cfa6a
@ -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.
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user