summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/kpaste/default.nix
blob: 217cb8a44d4f7bda94ee292d455001880e6fe849 (plain)
1
2
3
4
5
6
{ curl, gnused, writeDashBin }:

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