depot/third_party/nixpkgs/pkgs/tools/text/pru/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

24 lines
571 B
Nix

{ 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;
}