mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
51 lines
954 B
Nix
51 lines
954 B
Nix
{ buildPythonApplication
|
|
, lib
|
|
, fetchFromGitHub
|
|
, dateutil
|
|
, pyyaml
|
|
, openpyxl
|
|
, xlrd
|
|
, h5py
|
|
, fonttools
|
|
, lxml
|
|
, pandas
|
|
, pyshp
|
|
, setuptools
|
|
, withPcap ? true, dpkt ? null, dnslib ? null
|
|
}:
|
|
buildPythonApplication rec {
|
|
pname = "visidata";
|
|
version = "2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "saulpw";
|
|
repo = "visidata";
|
|
rev = "v${version}";
|
|
sha256 = "0mvf2603d9b0s6rh7sl7mg4ipbh0nk05xgh1078mwvx31qjsmq1i";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
dateutil
|
|
pyyaml
|
|
openpyxl
|
|
xlrd
|
|
h5py
|
|
fonttools
|
|
lxml
|
|
pandas
|
|
pyshp
|
|
setuptools
|
|
] ++ lib.optionals withPcap [ dpkt dnslib ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
inherit version;
|
|
description = "Interactive terminal multitool for tabular data";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
homepage = "http://visidata.org/";
|
|
changelog = "https://github.com/saulpw/visidata/blob/v${version}/CHANGELOG.md";
|
|
};
|
|
}
|