mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
python-paramiko: Add patch for ECDSA private keys.
This patch should be backwards-incompatible and is also submitted upstream as paramiko/paramiko#218. The main reason for this patch is that we need it for NixOS/nixops#124 in order to cope with NixOS/nixops@a2718b6, which makes ECDSA private key the default for new deployments. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
a5f8f6ace7
commit
58fdf34296
@ -3988,6 +3988,14 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
||||
md5 = "4187f77b1a5a313c899993930e30c321";
|
||||
};
|
||||
|
||||
patches = pkgs.lib.singleton (fetchurl {
|
||||
# See https://github.com/paramiko/paramiko/pull/218
|
||||
name = "ecdsa-private-keys.patch";
|
||||
url = "https://github.com/aszlig/paramiko/compare/"
|
||||
+ "c73764a947...ad33bb186f.diff";
|
||||
sha256 = "1f1dxnd2di7jh3knn4qfipa46f6f9rqdzmc1lncwb3sbd772r8fx";
|
||||
});
|
||||
|
||||
propagatedBuildInputs = [ pycrypto ecdsa ];
|
||||
|
||||
checkPhase = "python test.py";
|
||||
|
Loading…
Reference in New Issue
Block a user