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
31
pkgs/tools/networking/ssh-ident/default.nix
Normal file
31
pkgs/tools/networking/ssh-ident/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ stdenvNoCC, lib, fetchFromGitHub, python3, openssh}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "ssh-ident";
|
||||
version = "2016-04-21";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ccontavalli";
|
||||
repo = "ssh-ident";
|
||||
rev = "ebf8282728211dc4448d50f7e16e546ed03c22d2";
|
||||
sha256 = "1jf19lz1gwn7cyp57j8d4zs5bq13iw3kw31m8nvr8h6sib2pf815";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ssh-ident \
|
||||
--replace 'ssh-agent >' '${openssh}/bin/ssh-agent >'
|
||||
'';
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install -m 755 ssh-ident $out/bin/ssh-ident
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ccontavalli/ssh-ident";
|
||||
description = "Start and use ssh-agent and load identities as necessary";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ telotortium ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue