Merge pull request #92743 from MasseGuillaume/fix-telepresence
telepresence: fix build
This commit is contained in:
commit
a468c3add9
@ -1,26 +1,31 @@
|
||||
{ lib, pythonPackages, fetchgit, fetchFromGitHub, makeWrapper, git
|
||||
{ lib, pythonPackages, fetchFromGitHub, makeWrapper, git
|
||||
, sshfs-fuse, torsocks, sshuttle, conntrack-tools , openssh, coreutils
|
||||
, iptables, bash }:
|
||||
|
||||
let
|
||||
sshuttle-telepresence = lib.overrideDerivation sshuttle (p: {
|
||||
src = fetchgit {
|
||||
url = "https://github.com/datawire/sshuttle.git";
|
||||
rev = "32226ff14d98d58ccad2a699e10cdfa5d86d6269";
|
||||
sha256 = "1q20lnljndwcpgqv2qrf1k0lbvxppxf98a4g5r9zd566znhcdhx3";
|
||||
};
|
||||
sshuttle-telepresence =
|
||||
let
|
||||
sshuttleTelepresenceRev = "32226ff14d98d58ccad2a699e10cdfa5d86d6269";
|
||||
in
|
||||
lib.overrideDerivation sshuttle (p: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "datawire";
|
||||
repo = "sshuttle";
|
||||
rev = sshuttleTelepresenceRev;
|
||||
sha256 = "1lp5b0h9v59igf8wybjn42w6ajw08blhiqmjwp4r7qnvmvmyaxhh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = p.nativeBuildInputs ++ [ git ];
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION="${sshuttleTelepresenceRev}";
|
||||
|
||||
postPatch = "rm sshuttle/tests/client/test_methods_nat.py";
|
||||
postInstall = "mv $out/bin/sshuttle $out/bin/sshuttle-telepresence";
|
||||
});
|
||||
postPatch = "rm sshuttle/tests/client/test_methods_nat.py";
|
||||
postInstall = "mv $out/bin/sshuttle $out/bin/sshuttle-telepresence";
|
||||
});
|
||||
in pythonPackages.buildPythonPackage rec {
|
||||
pname = "telepresence";
|
||||
version = "0.104";
|
||||
version = "0.105";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "datawire";
|
||||
owner = "telepresenceio";
|
||||
repo = "telepresence";
|
||||
rev = version;
|
||||
sha256 = "0fccbd54ryd9rcbhfh5lx8qcc3kx3k9jads918rwnzwllqzjf7sg";
|
||||
|
Loading…
Reference in New Issue
Block a user