Merge pull request #278660 from markus1189/visidata3

visidata: 2.11.1 -> 3.0
This commit is contained in:
7c6f434c 2024-01-07 00:26:14 +00:00 committed by GitHub
commit 6109bb23cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,13 +45,13 @@
}:
buildPythonApplication rec {
pname = "visidata";
version = "2.11.1";
version = "3.0";
src = fetchFromGitHub {
owner = "saulpw";
repo = "visidata";
rev = "v${version}";
hash = "sha256-A8iYFdW30Em5pjGn3DRpaV0A7ixwfSzmIp8AgtPkBCI=";
hash = "sha256-LALWQu7BgMbAEyOXUE3p6bXhdx8h6jPEvjs/TEtf/wU==";
};
propagatedBuildInputs = [
@ -70,6 +70,7 @@ buildPythonApplication rec {
pyshp
#mapbox-vector-tile
pypng
#pyconll
fonttools
#sas7bdat
#xport
@ -114,11 +115,16 @@ buildPythonApplication rec {
checkPhase = ''
runHook preCheck
# disable some tests which require access to the network
rm -f tests/load-http.vd # http
rm -f tests/graph-cursor-nosave.vd # http
rm -f tests/messenger-nosave.vd # dns
# tests to disable because we don't have a package to load such files
rm -f tests/load-conllu.vdj # no 'pyconll'
rm -f tests/load-sav.vd # no 'savReaderWriter'
# tests use git to compare outputs to references
git init -b "test-reference"
git config user.name "nobody"