Merge pull request #295713 from trofi/cvise-update

cvise: 2.9.0 -> 2.10.0
This commit is contained in:
Nick Cao 2024-03-14 12:45:43 -04:00 committed by GitHub
commit 5327c310c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, fetchpatch
, bash
, cmake
, colordiff
@ -17,27 +16,19 @@
buildPythonApplication rec {
pname = "cvise";
version = "2.9.0";
version = "2.10.0";
format = "other";
src = fetchFromGitHub {
owner = "marxin";
repo = "cvise";
rev = "refs/tags/v${version}";
hash = "sha256-4LEKVh3jNU3xOq75+IQezjhbL/6uAGQ3r0Au2cxx1WA=";
hash = "sha256-0gk4O1q90eH1FMhj4ncNVqX/MfVyaU0nckh1xny2wlM=";
};
patches = [
# Refer to unifdef by absolute path.
./unifdef.patch
# Refer to shell via /usr/bin/env:
# https://github.com/marxin/cvise/pull/121
(fetchpatch {
name = "env-shell.patch";
url = "https://github.com/marxin/cvise/commit/6a416eb590be978a2ad25c610974fdde84e88651.patch";
hash = "sha256-Kn6+TXP+wJpMs6jrgsa9OwjXf6vmIgGzny8jg3dfKWA=";
})
];
postPatch = ''