2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonApplication
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, dateutil
|
|
|
|
, pyyaml
|
|
|
|
, openpyxl
|
|
|
|
, xlrd
|
|
|
|
, h5py
|
|
|
|
, fonttools
|
|
|
|
, lxml
|
|
|
|
, pandas
|
|
|
|
, pyshp
|
|
|
|
, setuptools
|
2020-10-19 23:25:03 +00:00
|
|
|
, withPcap ? true, dpkt ? null, dnslib ? null
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "visidata";
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "2.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "saulpw";
|
|
|
|
repo = "visidata";
|
|
|
|
rev = "v${version}";
|
2021-02-13 14:23:35 +00:00
|
|
|
sha256 = "1gkvnywjg0n3n7d855ivclsj3d8mzihhkgv9a18srcszkmyix903";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dateutil
|
|
|
|
pyyaml
|
|
|
|
openpyxl
|
|
|
|
xlrd
|
|
|
|
h5py
|
|
|
|
fonttools
|
|
|
|
lxml
|
|
|
|
pandas
|
|
|
|
pyshp
|
|
|
|
setuptools
|
2020-10-19 23:25:03 +00:00
|
|
|
] ++ lib.optionals withPcap [ dpkt dnslib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = "Interactive terminal multitool for tabular data";
|
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
homepage = "http://visidata.org/";
|
2021-04-05 15:23:46 +00:00
|
|
|
changelog = "https://github.com/saulpw/visidata/blob/v${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|