diff options
author | bnikolic <bojan@bnikolic.co.uk> | 2016-12-14 14:03:54 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-12-14 15:03:54 +0100 |
commit | 88f53c989e8aa92f2b5bebb4af7e37470445d838 (patch) | |
tree | 0cb6bd827ddb3850fafa9dc197ba02e591d427a3 /pkgs/applications/version-management/bazaar | |
parent | fa0a63ec13bcd87710c10a29ba3489374333c4ef (diff) |
bazaar: enable sftp transport (#21132)
SFTP transport needs python paramiko package, which is now an optional input
Diffstat (limited to 'pkgs/applications/version-management/bazaar')
-rw-r--r-- | pkgs/applications/version-management/bazaar/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/bazaar/default.nix b/pkgs/applications/version-management/bazaar/default.nix index a397acddbcfac..47d667a0c067c 100644 --- a/pkgs/applications/version-management/bazaar/default.nix +++ b/pkgs/applications/version-management/bazaar/default.nix @@ -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 = '' |