nixpkgs-suyu/pkgs/tools/text/pru/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
571 B
Nix
Raw Normal View History

2021-11-28 05:54:47 +01:00
{ 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;
}