1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00
Files
niveum/packages/trans.nix

14 lines
312 B
Nix
Raw Normal View History

{
fetchurl,
writers,
gawk,
}: let
script = fetchurl {
url = "https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/trans.awk";
2024-03-19 23:15:35 +01:00
hash = "sha256-KT5iRRGtHpBTrPfs0L2e4JW6JrXVTVvgCXeFKFcr1P4=";
};
in
writers.writeDashBin "trans" ''
exec ${gawk}/bin/gawk -f ${script} -- "$@"
''