Merge pull request #147653 from AndersonTorres/new-pru

pru: init at 0.2.1
This commit is contained in:
Anderson Torres 2022-02-24 09:11:58 -03:00 committed by GitHub
commit 11cc3a7ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'pru'

View File

@ -0,0 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
pru (0.2.1)
PLATFORMS
ruby
DEPENDENCIES
pru
BUNDLED WITH
2.1.4

View File

@ -0,0 +1,24 @@
{ 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;
}

View File

@ -0,0 +1,12 @@
{
pru = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1imavf7wlbdfxvkrf838pp3cyfib0r7nzv0chnhyxagy1kk969r2";
type = "gem";
};
version = "0.2.1";
};
}

View File

@ -19531,6 +19531,8 @@ with pkgs;
buildPythonApplication click future six;
};
pru = callPackage ../tools/text/pru { };
prospector = callPackage ../development/tools/prospector { };
protobuf = protobuf3_19;