mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
0215034f25
when they already rely on SRI hashes.
28 lines
517 B
Nix
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;
|
|
};
|
|
|
|
}
|