1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pkgs
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "ecdsa";
10 version = "0.14.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e";
15 };
16
17 propagatedBuildInputs = [ six ];
18 # Only needed for tests
19 checkInputs = [ pkgs.openssl ];
20
21 meta = with stdenv.lib; {
22 description = "ECDSA cryptographic signature library";
23 homepage = "https://github.com/warner/python-ecdsa";
24 license = licenses.mit;
25 maintainers = with maintainers; [ aszlig ];
26 };
27
28}