depot/third_party/nixpkgs/pkgs/tools/text/pru/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

24 lines
565 B
Nix

{ lib
, bundlerApp
, bundlerUpdateScript
}:
bundlerApp {
pname = "pru";
gemdir = ./.;
exes = [ "pru" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
passthru.updateScript = bundlerUpdateScript "pru";
}