uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/tools/networking/pssh/default.nix
Normal file
37
pkgs/tools/networking/pssh/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, openssh, rsync }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pssh";
|
||||
version = "2.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lilydjwg";
|
||||
repo = "pssh";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-B1dIa6hNeq4iE8GKVhTp3Gzq7vp+v5Yyzj8uF8X71yg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
for f in bin/*; do
|
||||
substituteInPlace $f \
|
||||
--replace "'ssh'" "'${openssh}/bin/ssh'" \
|
||||
--replace "'scp'" "'${openssh}/bin/scp'" \
|
||||
--replace "'rsync'" "'${rsync}/bin/rsync'"
|
||||
done
|
||||
'';
|
||||
|
||||
# Tests do not run with python3: https://github.com/lilydjwg/pssh/issues/126
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parallel SSH Tools";
|
||||
longDescription = ''
|
||||
PSSH provides parallel versions of OpenSSH and related tools,
|
||||
including pssh, pscp, prsync, pnuke and pslurp.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ chris-martin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue