From 9ab2515314b8f9308c3e22ef22a81d1df797774b Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 2 Oct 2013 11:25:37 +0200 Subject: [PATCH] python-packages: Add package for ecdsa library. This is needed for the latest Paramiko release, which includes support for ECDSA keys using this library. I'm using ECDSA in the description itself, because the name also reflects the functionality and "cryptographic signature library" would sound odd in this case. Also, I'm adding myself to maintainers, because I'm going to take over maintenance for Paramiko as well. Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index abae0346c59f..2623c297e7fc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2268,6 +2268,27 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; + ecdsa = buildPythonPackage rec { + name = "ecdsa-${version}"; + version = "0.9"; + + src = fetchurl { + url = "http://pypi.python.org/packages/source/e/ecdsa/${name}.tar.gz"; + md5 = "2b9c35245ce391d6b7d8f991aad5c630"; + }; + + # Only needed for tests + buildInputs = [ pkgs.openssl ]; + + meta = { + description = "ECDSA cryptographic signature library"; + homepage = "https://github.com/warner/python-ecdsa"; + license = stdenv.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.aszlig ]; + }; + }; + + elpy = buildPythonPackage rec { name = "elpy-1.0.1"; src = fetchurl {