mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #94810 from elkowar/new_package_pipr
pipr: init at 0.0.12
This commit is contained in:
commit
dd03272130
@ -2467,6 +2467,12 @@
|
||||
githubId = 97852;
|
||||
name = "Ellis Whitehead";
|
||||
};
|
||||
elkowar = {
|
||||
email = "thereal.elkowar@gmail.com";
|
||||
github = "elkowar";
|
||||
githubId = 5300871;
|
||||
name = "Leon Kowarschick";
|
||||
};
|
||||
elohmeier = {
|
||||
email = "elo-nixos@nerdworks.de";
|
||||
github = "elohmeier";
|
||||
|
34
pkgs/applications/misc/pipr/default.nix
Normal file
34
pkgs/applications/misc/pipr/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, bubblewrap
|
||||
, makeWrapper
|
||||
, lib
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pipr";
|
||||
version = "0.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ElKowar";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0l7yvpc59mbzh87lngj6pj8w586fwa07829l5x9mmxnkf6srapmc";
|
||||
};
|
||||
|
||||
cargoSha256 = "1xzc1x5mjvj2jgdhwmjbdbqi8d7ln1ss7akn72d96kmy1wsj1qsa";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/pipr" --prefix PATH : ${lib.makeBinPath [ bubblewrap ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A commandline-tool to interactively write shell pipelines";
|
||||
homepage = "https://github.com/ElKowar/pipr";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ elkowar ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -6139,6 +6139,8 @@ in
|
||||
|
||||
pirate-get = callPackage ../tools/networking/pirate-get { };
|
||||
|
||||
pipr = callPackage ../applications/misc/pipr { };
|
||||
|
||||
pipreqs = callPackage ../tools/misc/pipreqs { };
|
||||
|
||||
pius = callPackage ../tools/security/pius { };
|
||||
|
Loading…
Reference in New Issue
Block a user