27 lines
529 B
Nix
27 lines
529 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pkgs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ecdsa";
|
|
version = "0.13";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1yj31j0asmrx4an9xvsaj2icdmzy6pw0glfpqrrkrphwdpi1xkv4";
|
|
};
|
|
|
|
# Only needed for tests
|
|
buildInputs = [ pkgs.openssl ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "ECDSA cryptographic signature library";
|
|
homepage = "https://github.com/warner/python-ecdsa";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ aszlig ];
|
|
};
|
|
|
|
}
|