From 3ff27f9c1342c5d3d55884028b0a4a8ead34d5f0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Feb 2021 18:22:38 +0100 Subject: [PATCH] python3Packages.base58: 2.0.1 -> 2.1.0 --- .../python-modules/base58/default.nix | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/base58/default.nix b/pkgs/development/python-modules/base58/default.nix index 1e1da32f6c9..1437683941b 100644 --- a/pkgs/development/python-modules/base58/default.nix +++ b/pkgs/development/python-modules/base58/default.nix @@ -1,19 +1,29 @@ -{ lib, fetchPypi, buildPythonPackage, isPy27, pytest, pyhamcrest }: +{ lib +, buildPythonPackage +, fetchPypi +, pyhamcrest +, pytest-benchmark +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "base58"; - version = "2.0.1"; - disabled = isPy27; # python 2 abandoned upstream + version = "2.1.0"; + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "365c9561d9babac1b5f18ee797508cd54937a724b6e419a130abad69cec5ca79"; + sha256 = "sha256-FxpUe0o8YeGuOAciSm967HXjZMQ5XnViZJ1zNXaAAaI="; }; - checkInputs = [ pytest pyhamcrest ]; - checkPhase = '' - pytest - ''; + checkInputs = [ + pyhamcrest + pytest-benchmark + pytestCheckHook + ]; + + pythonImportsCheck = [ "base58" ]; meta = with lib; { description = "Base58 and Base58Check implementation";