Merge pull request #147653 from AndersonTorres/new-pru
pru: init at 0.2.1
This commit is contained in:
commit
11cc3a7ad7
2
pkgs/tools/text/pru/Gemfile
Normal file
2
pkgs/tools/text/pru/Gemfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'pru'
|
13
pkgs/tools/text/pru/Gemfile.lock
Normal file
13
pkgs/tools/text/pru/Gemfile.lock
Normal file
|
@ -0,0 +1,13 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
pru (0.2.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
pru
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
24
pkgs/tools/text/pru/default.nix
Normal file
24
pkgs/tools/text/pru/default.nix
Normal 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;
|
||||
}
|
12
pkgs/tools/text/pru/gemset.nix
Normal file
12
pkgs/tools/text/pru/gemset.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
pru = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1imavf7wlbdfxvkrf838pp3cyfib0r7nzv0chnhyxagy1kk969r2";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.2.1";
|
||||
};
|
||||
}
|
|
@ -19531,6 +19531,8 @@ with pkgs;
|
|||
buildPythonApplication click future six;
|
||||
};
|
||||
|
||||
pru = callPackage ../tools/text/pru { };
|
||||
|
||||
prospector = callPackage ../development/tools/prospector { };
|
||||
|
||||
protobuf = protobuf3_19;
|
||||
|
|
Loading…
Reference in a new issue