2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 18:20:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
2019-12-20 16:31:45 +00:00
|
|
|
, six
|
2018-10-16 18:20:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ecdsa";
|
2022-07-16 10:59:06 +00:00
|
|
|
version = "0.18.0";
|
2018-10-16 18:20:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-GQNIBBVZ4hsiodZc7khSgsoRpvgdUD/duE1QF+ntHkk=";
|
2018-10-16 18:20:52 +00:00
|
|
|
};
|
|
|
|
|
2019-12-20 16:31:45 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
2018-10-16 18:20:52 +00:00
|
|
|
# Only needed for tests
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pkgs.openssl ];
|
2018-10-16 18:20:52 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 18:20:52 +00:00
|
|
|
description = "ECDSA cryptographic signature library";
|
|
|
|
homepage = "https://github.com/warner/python-ecdsa";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|