3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #193083 from figsoda/teip

teip: init at 2.0.0
This commit is contained in:
figsoda 2022-09-27 16:37:47 -04:00 committed by GitHub
commit 8555053c91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, rustPlatform, fetchCrate, installShellFiles, perl }:
rustPlatform.buildRustPackage rec {
pname = "teip";
version = "2.0.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-fME+tS8wcC6mk5FjuDJpFWWhIsiXV4kuybSqj9awFUM=";
};
cargoSha256 = "sha256-wrfS+OEYF60nOhtrnmk7HKqVuAJQFaiT0GM+3OoZ3Wk=";
nativeBuildInputs = [ installShellFiles ];
checkInputs = [ perl ];
postInstall = ''
installManPage man/teip.1
installShellCompletion --zsh completion/zsh/_teip
'';
meta = with lib; {
description = "A tool to bypass a partial range of standard input to any command";
homepage = "https://github.com/greymd/teip";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -11581,6 +11581,8 @@ with pkgs;
teamviewer = libsForQt515.callPackage ../applications/networking/remote/teamviewer { };
teip = callPackage ../tools/text/teip { };
telegraf = callPackage ../servers/monitoring/telegraf { };
teleport = callPackage ../servers/teleport {