summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/logf/default.nix3
-rw-r--r--krebs/5pkgs/vncdotool/default.nix20
2 files changed, 2 insertions, 21 deletions
diff --git a/krebs/5pkgs/logf/default.nix b/krebs/5pkgs/logf/default.nix
index d9eae0a4a..ac95acb33 100644
--- a/krebs/5pkgs/logf/default.nix
+++ b/krebs/5pkgs/logf/default.nix
@@ -54,7 +54,8 @@ pkgs.writeDashBin "logf" ''
# anaphoric gsub
def agsub(re; f):
- gsub("(?<it>\(re))"; .it | f);
+ # Don't try empty regex: https://github.com/stedolan/jq/issues/1206
+ when(re != ""; gsub("(?<it>\(re))"; .it | f));
# :: [int] -> sgr
def sgr: "\u001b[\(map(tostring) | join(";"))m";
diff --git a/krebs/5pkgs/vncdotool/default.nix b/krebs/5pkgs/vncdotool/default.nix
deleted file mode 100644
index 95e2ca706..000000000
--- a/krebs/5pkgs/vncdotool/default.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ lib, pythonPackages, fetchurl, ... }:
-with pythonPackages; buildPythonPackage rec {
- name = lib.removeSuffix ".tar.gz" (builtins.baseNameOf src.name);
-
- src = fetchurl {
- url = https://pypi.python.org/packages/source/v/vncdotool/vncdotool-0.9.0.tar.gz;
- sha256 = "1hl44w4x9c8air0g6kp9h1af2vj4lmc50vnsxmca9g080740iyvi";
- };
-
- propagatedBuildInputs = [
- twisted
- pillow
- ];
-
- meta = {
- homepage = https://github.com/sibson/vncdotool;
- description = "A command line VNC client and python library";
- license = lib.licenses.mit;
- };
-}