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
44
pkgs/tools/networking/telepresence/default.nix
Normal file
44
pkgs/tools/networking/telepresence/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, pythonPackages, fetchFromGitHub, makeWrapper, git
|
||||
, sshfs-fuse, torsocks, sshuttle, conntrack-tools , openssh, coreutils
|
||||
, iptables, bash }:
|
||||
|
||||
let
|
||||
sshuttle-telepresence = lib.overrideDerivation sshuttle (p: {
|
||||
postInstall = "mv $out/bin/sshuttle $out/bin/sshuttle-telepresence";
|
||||
});
|
||||
in pythonPackages.buildPythonPackage rec {
|
||||
pname = "telepresence";
|
||||
version = "0.109";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "telepresenceio";
|
||||
repo = "telepresence";
|
||||
rev = version;
|
||||
sha256 = "1ccc8bzcdxp6rh6llk7grcnmyc05fq7dz5w0mifdzjv3a473hsky";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/telepresence \
|
||||
--prefix PATH : ${lib.makeBinPath [
|
||||
sshfs-fuse
|
||||
torsocks
|
||||
conntrack-tools
|
||||
sshuttle-telepresence
|
||||
openssh
|
||||
coreutils
|
||||
iptables
|
||||
bash
|
||||
]}
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.telepresence.io/";
|
||||
description = "Local development against a remote Kubernetes or OpenShift cluster";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
maintainers = with lib.maintainers; [ offline ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue