Merge pull request #144084 from trofi/update-cvise

authored by Sandro and committed by GitHub 5b42db35 9520c427

+6 -5
+4 -4
pkgs/development/tools/misc/cvise/default.nix
··· 1 { lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex 2 , libclang, llvm, unifdef 3 - , pebble, psutil, pytestCheckHook, pytest-flake8 4 }: 5 6 buildPythonApplication rec { 7 pname = "cvise"; 8 - version = "2.3.0"; 9 10 src = fetchFromGitHub { 11 owner = "marxin"; 12 repo = "cvise"; 13 rev = "v${version}"; 14 - sha256 = "1x2i8nv0nncgvr07znhh2slngbrg8qcsz2zqx76bcyq9hssn6yal"; 15 }; 16 17 patches = [ ··· 21 22 nativeBuildInputs = [ cmake flex llvm.dev ]; 23 buildInputs = [ bash libclang llvm llvm.dev unifdef ]; 24 - propagatedBuildInputs = [ pebble psutil ]; 25 checkInputs = [ pytestCheckHook pytest-flake8 unifdef ]; 26 27 # 'cvise --command=...' generates a script with hardcoded shebang.
··· 1 { lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex 2 , libclang, llvm, unifdef 3 + , chardet, pebble, psutil, pytestCheckHook, pytest-flake8 4 }: 5 6 buildPythonApplication rec { 7 pname = "cvise"; 8 + version = "2.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "marxin"; 12 repo = "cvise"; 13 rev = "v${version}"; 14 + sha256 = "0cfzikkhp91hjgxjk3izzczb8d9p8v9zsfyk6iklk92n5qf1aakq"; 15 }; 16 17 patches = [ ··· 21 22 nativeBuildInputs = [ cmake flex llvm.dev ]; 23 buildInputs = [ bash libclang llvm llvm.dev unifdef ]; 24 + propagatedBuildInputs = [ chardet pebble psutil ]; 25 checkInputs = [ pytestCheckHook pytest-flake8 unifdef ]; 26 27 # 'cvise --command=...' generates a script with hardcoded shebang.
+2 -1
pkgs/top-level/all-packages.nix
··· 14400 cvehound = callPackage ../development/tools/analysis/cvehound { }; 14401 14402 cvise = python3Packages.callPackage ../development/tools/misc/cvise { 14403 - inherit (llvmPackages_11) llvm libclang; 14404 }; 14405 14406 cwltool = callPackage ../applications/science/misc/cwltool { };
··· 14400 cvehound = callPackage ../development/tools/analysis/cvehound { }; 14401 14402 cvise = python3Packages.callPackage ../development/tools/misc/cvise { 14403 + # cvise keeps up with fresh llvm releases and supports wide version range 14404 + inherit (llvmPackages_latest) llvm libclang; 14405 }; 14406 14407 cwltool = callPackage ../applications/science/misc/cwltool { };