stockholm/krebs/5pkgs/simple/kpaste/default.nix

7 lines
162 B
Nix
Raw Normal View History

2019-04-13 19:41:58 +00:00
{ curl, gnused, writeDashBin }:
2017-04-11 19:41:06 +00:00
writeDashBin "kpaste" ''
2019-04-13 19:41:58 +00:00
${curl}/bin/curl -sS http://p.r --data-binary @- |
${gnused}/bin/sed '$ {p;s/\<r\>/krebsco.de/}'
2017-04-11 19:41:06 +00:00
''