28 lines
526 B
Nix
28 lines
526 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pkgs
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ecdsa";
|
|
version = "0.17.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b9f500bb439e4153d0330610f5d26baaf18d17b8ced1bc54410d189385ea68aa";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|