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