diff options
author | Markus Hauck <markus1189@gmail.com> | 2023-03-25 19:23:26 +0100 |
---|---|---|
committer | Markus Hauck <markus1189@gmail.com> | 2023-03-25 20:17:40 +0100 |
commit | 86b34419483aada7a964f5d79cba41aad332373d (patch) | |
tree | 64828a64b4c7b7218836fae2ee3cda880a9fd122 /pkgs/applications/misc/visidata | |
parent | 1c0306c913bef5ffff5f91b373153ad980bc4f2d (diff) |
visidata: 2.10.2 -> 2.11
Diffstat (limited to 'pkgs/applications/misc/visidata')
-rw-r--r-- | pkgs/applications/misc/visidata/default.nix | 74 |
1 files changed, 55 insertions, 19 deletions
diff --git a/pkgs/applications/misc/visidata/default.nix b/pkgs/applications/misc/visidata/default.nix index 6e9909d38a1dd..65fe488ee85f9 100644 --- a/pkgs/applications/misc/visidata/default.nix +++ b/pkgs/applications/misc/visidata/default.nix @@ -2,25 +2,41 @@ , lib , buildPythonApplication , fetchFromGitHub -, python-dateutil -, pandas -, requests -, lxml -, openpyxl -, xlrd +# python requirements +, beautifulsoup4 +, boto3 +, faker +, fonttools , h5py +, importlib-metadata +, lxml +, matplotlib +, numpy , odfpy +, openpyxl +, pandas +, pdfminer-six +, praw +, psutil , psycopg2 +, pyarrow , pyshp -, fonttools +, pypng +, python-dateutil , pyyaml -, pdfminer-six -, vobject +, requests +, seaborn +, setuptools +, sh , tabulate +, urllib3 +, vobject , wcwidth +, xlrd +, xlwt , zstandard -, setuptools -, importlib-metadata +, zulip +# other , git , withPcap ? true, dpkt, dnslib , withXclip ? stdenv.isLinux, xclip @@ -29,13 +45,13 @@ }: buildPythonApplication rec { pname = "visidata"; - version = "2.10.2"; + version = "2.11"; src = fetchFromGitHub { owner = "saulpw"; repo = "visidata"; rev = "v${version}"; - hash = "sha256-OKCrlUWHgbaLZJPVvs9lnw4cD27pRoO7F9oel1NzT6A="; + hash = "sha256-G/9paJFJsRfIxMJ2hbuVS7pxCfSUCK69DNV2DHi60qA="; }; propagatedBuildInputs = [ @@ -47,11 +63,13 @@ buildPythonApplication rec { lxml openpyxl xlrd + xlwt h5py psycopg2 + boto3 pyshp #mapbox-vector-tile - #pypng + pypng fonttools #sas7bdat #xport @@ -66,6 +84,22 @@ buildPythonApplication rec { wcwidth zstandard odfpy + urllib3 + pyarrow + seaborn + matplotlib + sh + psutil + numpy + + #requests_cache + beautifulsoup4 + + faker + praw + zulip + #pyairtable + setuptools importlib-metadata ] ++ lib.optionals withPcap [ dpkt dnslib ] @@ -81,14 +115,16 @@ buildPythonApplication rec { checkPhase = '' runHook preCheck # disable some tests which require access to the network - rm tests/load-http.vd # http - rm tests/graph-cursor-nosave.vd # http - rm tests/messenger-nosave.vd # dns + rm -f tests/load-http.vd # http + rm -f tests/graph-cursor-nosave.vd # http + rm -f tests/messenger-nosave.vd # dns # tests use git to compare outputs to references git init -b "test-reference" - git config user.name "nobody"; git config user.email "no@where" - git add .; git commit -m "test reference" + git config user.name "nobody" + git config user.email "no@where" + git add . + git commit -m "test reference" substituteInPlace dev/test.sh --replace "bin/vd" "$out/bin/vd" bash dev/test.sh |