depot/third_party/nixpkgs/pkgs/development/python-modules/ecdsa/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
548 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pkgs,
six,
}:
buildPythonPackage rec {
pname = "ecdsa";
version = "0.19.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-YOqtEZllmQDdCvUh7UYreTu9+GdDKzlI6HQWrkyva/g=";
};
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;
};
}