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