nixpkgs/pkgs/by-name/pr/pru/package.nix

25 lines
565 B
Nix
Raw Normal View History

2021-11-28 05:54:47 +01:00
{ lib
, bundlerApp
, bundlerUpdateScript
}:
bundlerApp {
2021-11-28 05:54:47 +01:00
pname = "pru";
gemdir = ./.;
exes = [ "pru" ];
meta = {
2021-11-28 05:54:47 +01:00
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 ];
2021-11-28 05:54:47 +01:00
};
passthru.updateScript = bundlerUpdateScript "pru";
2021-11-28 05:54:47 +01:00
}