Merge pull request #112415 from fabaff/bump-base58

python3Packages.base58: 2.0.1 -> 2.1.0
This commit is contained in:
Martin Weinelt 2021-02-08 19:15:36 +01:00 committed by GitHub
commit 3e40e83f2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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