Skip to content

Commit

Permalink
Merge pull request NixOS#182011 from AndrewKvalheim/visidata/xclip
Browse files Browse the repository at this point in the history
visidata: add runtime dependency of clipboard commands
  • Loading branch information
7c6f434c authored Jul 26, 2022
2 parents 702c2b9 + 3c7cb61 commit 30a1db4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/applications/misc/visidata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
, setuptools
, git
, withPcap ? true, dpkt, dnslib
, withXclip ? stdenv.isLinux, xclip
}:
buildPythonApplication rec {
pname = "visidata";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 30a1db4

Please sign in to comment.