python311Packages.py-ecc: 6.0.0 -> 7.0.0

Diff: https://github.com/ethereum/py_ecc/compare/v6.0.0...v7.0.0

Changelog: https://github.com/ethereum/py_ecc/blob/v7.0.0/CHANGELOG.rst
This commit is contained in:
Robert Schütz 2024-02-23 15:19:45 -08:00
parent edb51635cc
commit cb8c1e4120

View file

@ -4,29 +4,32 @@
, cached-property , cached-property
, eth-typing , eth-typing
, eth-utils , eth-utils
, mypy-extensions
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "py-ecc"; pname = "py-ecc";
version = "6.0.0"; version = "7.0.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ethereum"; owner = "ethereum";
repo = "py_ecc"; repo = "py_ecc";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-638otYA3e/Ld4mcM69yrqHQnGoK/Sfl/UA9FWnjgO/U="; hash = "sha256-DKe+bI1GEzXg4Y4n5OA1/hWYz9L3X1AvaOFPEnCaAfs=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
cached-property cached-property
eth-typing eth-typing
eth-utils eth-utils
mypy-extensions
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
@ -36,6 +39,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "py_ecc" ]; pythonImportsCheck = [ "py_ecc" ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/ethereum/py_ecc/blob/${src.rev}/CHANGELOG.rst";
description = "ECC pairing and bn_128 and bls12_381 curve operations"; description = "ECC pairing and bn_128 and bls12_381 curve operations";
homepage = "https://github.com/ethereum/py_ecc"; homepage = "https://github.com/ethereum/py_ecc";
license = licenses.mit; license = licenses.mit;