1
0
mirror of https://github.com/kmein/niveum synced 2026-03-29 08:41:07 +02:00

modularize

This commit is contained in:
Kierán Meinhardt
2019-04-19 03:11:51 +02:00
parent a90799f39b
commit a763c63de4
58 changed files with 1317 additions and 1172 deletions

4
packages/wttr.nix Normal file
View File

@@ -0,0 +1,4 @@
{ writeDashBin, curl, jq }:
writeDashBin "wttr" ''
${curl}/bin/curl -s -H "Accept-Language: ''${LANG%_*}" --compressed "wttr.in/''${1-"@$(${curl}/bin/curl -s ipinfo.io | ${jq}/bin/jq -r .ip)"}?0"
''