summary refs log tree commit diff
path: root/pkgs/tools/text/pru/default.nix
blob: 5126c6dc0e27ea8d1b54bfd83ccbd769060e2afc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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";
}