nixpkgs/pkgs/development/python-modules/ecdsa/default.nix

28 lines
534 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
, six
}:
buildPythonPackage rec {
pname = "ecdsa";
2020-06-06 07:47:06 +01:00
version = "0.15";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:06 +01:00
sha256 = "8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277";
};
propagatedBuildInputs = [ six ];
# Only needed for tests
checkInputs = [ pkgs.openssl ];
meta = with stdenv.lib; {
description = "ECDSA cryptographic signature library";
homepage = "https://github.com/warner/python-ecdsa";
license = licenses.mit;
};
}