mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pru: init at 0.2.1
This commit is contained in:
parent
1af66969f8
commit
98fd8b6928
5 changed files with 53 additions and 0 deletions
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";
|
||||
};
|
||||
}
|
|
@ -19504,6 +19504,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