diff options
Diffstat (limited to 'pkgs/tools/text/pru/default.nix')
-rw-r--r-- | pkgs/tools/text/pru/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/pru/default.nix b/pkgs/tools/text/pru/default.nix new file mode 100644 index 00000000000..26e74344248 --- /dev/null +++ b/pkgs/tools/text/pru/default.nix @@ -0,0 +1,24 @@ +{ lib +, bundlerApp +, bundlerUpdateScript +}: + +bundlerApp rec { + pname = "pru"; + gemdir = ./.; + exes = [ "pru" ]; + + meta = with lib; { + homepage = "https://github.com/grosser/pru"; + description = "Pipeable Ruby"; + longDescription = '' + pru allows to use Ruby scripts as filters, working as a convenient, + higher-level replacement of typical text processing tools (like sed, awk, + grep etc.). + ''; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres ]; + }; + + passthru.updateScript = bundlerUpdateScript pname; +} |