Merge pull request #182011 from AndrewKvalheim/visidata/xclip
visidata: add runtime dependency of clipboard commands
This commit is contained in:
commit
30a1db43d3
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue