From b2bde30def347e64823761bcf3db08ac0a833248 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Mon, 19 Oct 2020 10:53:13 +0200 Subject: [PATCH] visidata: 1.5.2 -> 2.0.1 also added way to open .pcap file. --- pkgs/applications/misc/visidata/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/visidata/default.nix b/pkgs/applications/misc/visidata/default.nix index 4cecf07f0fa3..e23df96efed2 100644 --- a/pkgs/applications/misc/visidata/default.nix +++ b/pkgs/applications/misc/visidata/default.nix @@ -11,16 +11,17 @@ , pandas , pyshp , setuptools +, withPcap ? true, dpkt ? null, dnslib ? null }: buildPythonApplication rec { pname = "visidata"; - version = "1.5.2"; + version = "2.0.1"; src = fetchFromGitHub { owner = "saulpw"; repo = "visidata"; rev = "v${version}"; - sha256 = "19gs8i6chrrwibz706gib5sixx1cjgfzh7v011kp3izcrn524mc0"; + sha256 = "sha256-AkGU9p00y+psBS/fL2YLyQYRSMOp1aPs21E9bpN9z0M="; }; propagatedBuildInputs = [ @@ -34,7 +35,7 @@ buildPythonApplication rec { pandas pyshp setuptools - ]; + ] ++ lib.optionals withPcap [ dpkt dnslib ]; doCheck = false;