summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/dls/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/5pkgs/dls/default.nix')
-rw-r--r--lass/5pkgs/dls/default.nix13
1 files changed, 0 insertions, 13 deletions
diff --git a/lass/5pkgs/dls/default.nix b/lass/5pkgs/dls/default.nix
deleted file mode 100644
index 36cdb620b..000000000
--- a/lass/5pkgs/dls/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ pkgs }:
-pkgs.writers.writeDashBin "dls" ''
- set -efux
- SESSION_ID=$(
- curl -Ss -d '{}' http://yellow.r:9091/transmission/rpc -v -o /dev/null 2>&1 |
- grep -oP '(?<=X-Transmission-Session-Id: )\w+'
- )
- ${pkgs.curl}/bin/curl -Ss \
- http://yellow.r:9091/transmission/rpc \
- -H "X-Transmission-Session-Id: $SESSION_ID" \
- -d '{"arguments":{"fields":["errorString","eta","isFinished","name","sizeWhenDone","status"]},"method":"torrent-get","tag":4}' |
- jq .
-''