Merge pull request #182011 from AndrewKvalheim/visidata/xclip

visidata: add runtime dependency of clipboard commands
This commit is contained in:
7c6f434c 2022-07-26 05:18:41 +00:00 committed by GitHub
commit 30a1db43d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,7 @@
, setuptools
, git
, withPcap ? true, dpkt, dnslib
, withXclip ? stdenv.isLinux, xclip
}:
buildPythonApplication rec {
pname = "visidata";
@ -63,7 +64,8 @@ buildPythonApplication rec {
zstandard
odfpy
setuptools
] ++ lib.optionals withPcap [ dpkt dnslib ];
] ++ lib.optionals withPcap [ dpkt dnslib ]
++ lib.optional withXclip xclip;
checkInputs = [
git