2021-03-22 06:38:32 -07:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-26 11:51:28 -07:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ecdsa";
|
|
|
|
version = "0.13.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "163c80b064a763ea733870feb96f9dd9b92216cfcacd374837af18e4e8ec3d4d";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
# Only needed for tests
|
|
|
|
checkInputs = [ pkgs.openssl ];
|
|
|
|
|
2021-03-22 06:38:32 -07:00
|
|
|
meta = with lib; {
|
2020-04-26 11:51:28 -07:00
|
|
|
description = "ECDSA cryptographic signature library";
|
|
|
|
homepage = "https://github.com/warner/python-ecdsa";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ aszlig ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|