02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
27 lines
513 B
Nix
27 lines
513 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pkgs
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ecdsa";
|
|
version = "0.18.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-GQNIBBVZ4hsiodZc7khSgsoRpvgdUD/duE1QF+ntHkk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
# Only needed for tests
|
|
checkInputs = [ pkgs.openssl ];
|
|
|
|
meta = with lib; {
|
|
description = "ECDSA cryptographic signature library";
|
|
homepage = "https://github.com/warner/python-ecdsa";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|