2018-10-16 19:20:52 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
2019-12-20 16:31:45 +00:00
|
|
|
, six
|
2018-10-16 19:20:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ecdsa";
|
2019-12-19 19:31:10 +00:00
|
|
|
version = "0.14.1";
|
2018-10-16 19:20:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:10 +00:00
|
|
|
sha256 = "64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e";
|
2018-10-16 19:20:52 +01:00
|
|
|
};
|
|
|
|
|
2019-12-20 16:31:45 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
2018-10-16 19:20:52 +01:00
|
|
|
# Only needed for tests
|
2019-01-05 10:54:27 +00:00
|
|
|
checkInputs = [ pkgs.openssl ];
|
2018-10-16 19:20:52 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "ECDSA cryptographic signature library";
|
|
|
|
homepage = "https://github.com/warner/python-ecdsa";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ aszlig ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|