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