depot/third_party/nixpkgs/pkgs/development/python-modules/ecdsa/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

28 lines
542 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;
};
}