nixpkgs/pkgs/development/python-modules/ecdsa/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

28 lines
517 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pkgs
, six
}:
buildPythonPackage rec {
pname = "ecdsa";
version = "0.18.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-GQNIBBVZ4hsiodZc7khSgsoRpvgdUD/duE1QF+ntHkk=";
};
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;
};
}