mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 20:20:26 +03:00
bazaar: enable sftp transport (#21132)
SFTP transport needs python paramiko package, which is now an optional input
This commit is contained in:
parent
fa0a63ec13
commit
88f53c989e
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, python2Packages }:
|
||||
{ stdenv, fetchurl, python2Packages
|
||||
, withSFTP ? true
|
||||
}:
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
version = "2.7";
|
||||
@ -12,6 +14,9 @@ python2Packages.buildPythonApplication rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = []
|
||||
++ stdenv.lib.optionals withSFTP [ python2Packages.paramiko ];
|
||||
|
||||
# Bazaar can't find the certificates alone
|
||||
patches = [ ./add_certificates.patch ];
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user