python3Packages.eth-utils: 1.8.4 -> 1.9.5 (#110318)
This commit is contained in:
parent
fac47806b1
commit
bacfa2d920
|
@ -1,9 +1,9 @@
|
||||||
{ lib, fetchFromGitHub, buildPythonPackage, pytest, eth-hash, eth-typing,
|
{ lib, fetchFromGitHub, buildPythonPackage, pytestCheckHook, eth-hash, eth-typing,
|
||||||
cytoolz, hypothesis }:
|
cytoolz, hypothesis }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "eth-utils";
|
pname = "eth-utils";
|
||||||
version = "1.8.4";
|
version = "1.9.5";
|
||||||
|
|
||||||
# Tests are missing from the PyPI source tarball so let's use GitHub
|
# Tests are missing from the PyPI source tarball so let's use GitHub
|
||||||
# https://github.com/ethereum/eth-utils/issues/130
|
# https://github.com/ethereum/eth-utils/issues/130
|
||||||
|
@ -11,20 +11,13 @@ buildPythonPackage rec {
|
||||||
owner = "ethereum";
|
owner = "ethereum";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1hfzb3xz3j50dgp51nx2jssh9j07np24fqmpnyr2ycsll90g1j6q";
|
sha256 = "1h3xlw74zdf6cfvqf9193lx05bpdm05pmy9ap1g7q2kx0j2b6352";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest hypothesis ];
|
checkInputs = [ pytestCheckHook hypothesis ];
|
||||||
propagatedBuildInputs = [ eth-hash eth-typing cytoolz ];
|
propagatedBuildInputs = [ eth-hash eth-typing cytoolz ];
|
||||||
|
|
||||||
# setuptools-markdown uses pypandoc which is broken at the moment
|
pythonImportsCheck = [ "eth_utils" ];
|
||||||
preConfigure = ''
|
|
||||||
substituteInPlace setup.py --replace \'setuptools-markdown\' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest .
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Common utility functions for codebases which interact with ethereum";
|
description = "Common utility functions for codebases which interact with ethereum";
|
||||||
|
|
Loading…
Reference in a new issue