Merge pull request #189004 from trofi/cvise-update

cvise: 2.4.0 -> 2.5.0

authored by

Sergei Trofimovich and committed by
GitHub
bd6f8901 b90935e8

+7 -9
+7 -9
pkgs/development/tools/misc/cvise/default.nix
··· 3 3 , fetchFromGitHub 4 4 , bash 5 5 , cmake 6 + , colordiff 6 7 , flex 7 8 , libclang 8 9 , llvm ··· 15 16 16 17 buildPythonApplication rec { 17 18 pname = "cvise"; 18 - version = "2.4.0"; 19 + version = "2.5.0"; 19 20 20 21 src = fetchFromGitHub { 21 22 owner = "marxin"; 22 23 repo = "cvise"; 23 - rev = "v${version}"; 24 - sha256 = "0cfzikkhp91hjgxjk3izzczb8d9p8v9zsfyk6iklk92n5qf1aakq"; 24 + rev = "refs/tags/v${version}"; 25 + sha256 = "sha256-Nt6Zs3FxO8Ti+ikVPVaMCejzBIuUxrzG4VLhChCSJQw="; 25 26 }; 26 27 27 28 patches = [ ··· 34 35 substituteInPlace cvise.py \ 35 36 --replace "#!/bin/bash" "#!${bash}/bin/bash" 36 37 37 - substituteInPlace setup.cfg \ 38 - --replace "--flake8" "" 38 + substituteInPlace cvise/utils/testing.py \ 39 + --replace "'colordiff --version'" "'${colordiff}/bin/colordiff --version'" \ 40 + --replace "'colordiff'" "'${colordiff}/bin/colordiff'" 39 41 ''; 40 42 41 43 nativeBuildInputs = [ ··· 61 63 pytestCheckHook 62 64 unifdef 63 65 ]; 64 - 65 - preCheck = '' 66 - patchShebangs cvise.py 67 - ''; 68 66 69 67 disabledTests = [ 70 68 # Needs gcc, fails when run noninteractively (without tty).