python3Packages.base58: 2.0.1 -> 2.1.0

This commit is contained in:
Fabian Affolter 2021-02-08 18:22:38 +01:00
parent 93498b1526
commit 3ff27f9c13

View file

@ -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";