2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-16 20:20:52 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
2019-12-20 17:31:45 +01:00
|
|
|
, six
|
2018-10-16 20:20:52 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ecdsa";
|
2021-06-18 23:47:15 +02:00
|
|
|
version = "0.17.0";
|
2018-10-16 20:20:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:15 +02:00
|
|
|
sha256 = "b9f500bb439e4153d0330610f5d26baaf18d17b8ced1bc54410d189385ea68aa";
|
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
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-16 20:20:52 +02:00
|
|
|
description = "ECDSA cryptographic signature library";
|
|
|
|
homepage = "https://github.com/warner/python-ecdsa";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|