summary refs log tree commit diff
path: root/pkgs/development/python-modules/eth-utils
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-01-25 11:06:27 +0100
committerGitHub <noreply@github.com>2021-01-25 11:06:27 +0100
commitbacfa2d9200e08bf8f4b77607e9d90222638cff3 (patch)
tree8a8afb04b59a1d2b0bcaf3dac230fc65cec3b03c /pkgs/development/python-modules/eth-utils
parentfac47806b15a57f68029f9a25ab054a57ab5d8cf (diff)
downloadnixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.tar
nixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.tar.gz
nixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.tar.bz2
nixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.tar.lz
nixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.tar.xz
nixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.tar.zst
nixpkgs-bacfa2d9200e08bf8f4b77607e9d90222638cff3.zip
python3Packages.eth-utils: 1.8.4 -> 1.9.5 (#110318)
Diffstat (limited to 'pkgs/development/python-modules/eth-utils')
-rw-r--r--pkgs/development/python-modules/eth-utils/default.nix17
1 files changed, 5 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/eth-utils/default.nix b/pkgs/development/python-modules/eth-utils/default.nix
index 25f2ebd5541..9c67f0816e3 100644
--- a/pkgs/development/python-modules/eth-utils/default.nix
+++ b/pkgs/development/python-modules/eth-utils/default.nix
@@ -1,9 +1,9 @@
-{ lib, fetchFromGitHub, buildPythonPackage, pytest, eth-hash, eth-typing,
+{ lib, fetchFromGitHub, buildPythonPackage, pytestCheckHook, eth-hash, eth-typing,
   cytoolz, hypothesis }:
 
 buildPythonPackage rec {
   pname = "eth-utils";
-  version = "1.8.4";
+  version = "1.9.5";
 
   # Tests are missing from the PyPI source tarball so let's use GitHub
   # https://github.com/ethereum/eth-utils/issues/130
@@ -11,20 +11,13 @@ buildPythonPackage rec {
     owner = "ethereum";
     repo = pname;
     rev = "v${version}";
-    sha256 = "1hfzb3xz3j50dgp51nx2jssh9j07np24fqmpnyr2ycsll90g1j6q";
+    sha256 = "1h3xlw74zdf6cfvqf9193lx05bpdm05pmy9ap1g7q2kx0j2b6352";
   };
 
-  checkInputs = [ pytest hypothesis ];
+  checkInputs = [ pytestCheckHook hypothesis ];
   propagatedBuildInputs = [ eth-hash eth-typing cytoolz ];
 
-  # setuptools-markdown uses pypandoc which is broken at the moment
-  preConfigure = ''
-    substituteInPlace setup.py --replace \'setuptools-markdown\' ""
-  '';
-
-  checkPhase = ''
-    pytest .
-  '';
+  pythonImportsCheck = [ "eth_utils" ];
 
   meta = {
     description = "Common utility functions for codebases which interact with ethereum";