diff options
author | tv <tv@krebsco.de> | 2018-09-16 22:19:36 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-09-16 22:33:57 +0200 |
commit | 934d8878158e640c8b5b0f5cc9501f6e10eb1260 (patch) | |
tree | 8bda50dcdac6494ddbac3d095648b1312357ae1d | |
parent | caca1e362041e68b78067ea9e3296763db79c95c (diff) |
reaktor plugins: fix writePython usage
-rw-r--r-- | krebs/5pkgs/simple/Reaktor/plugins.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix index 92a270ef3..2ccc1c8e9 100644 --- a/krebs/5pkgs/simple/Reaktor/plugins.nix +++ b/krebs/5pkgs/simple/Reaktor/plugins.nix @@ -120,7 +120,7 @@ rec { url-title = (buildSimpleReaktorPlugin "url-title" { pattern = "^.*(?P<args>http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+).*$$"; path = with pkgs; [ curl perl ]; - script = pkgs.writePython3 "url-title" [ "beautifulsoup4" "lxml" ] '' + script = pkgs.writePython3 "url-title" { deps = [ "beautifulsoup4" "lxml" ]; } '' import cgi import sys import urllib.request |