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