stockholm/krebs/5pkgs/simple/kpaste/default.nix
2019-04-13 21:51:58 +02:00

7 lines
162 B
Nix

{ curl, gnused, writeDashBin }:
writeDashBin "kpaste" ''
${curl}/bin/curl -sS http://p.r --data-binary @- |
${gnused}/bin/sed '$ {p;s/\<r\>/krebsco.de/}'
''