3
0
Fork 0
forked from mirrors/nixpkgs

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 { buildPythonPackage rec {
pname = "base58"; pname = "base58";
version = "2.0.1"; version = "2.1.0";
disabled = isPy27; # python 2 abandoned upstream disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "365c9561d9babac1b5f18ee797508cd54937a724b6e419a130abad69cec5ca79"; sha256 = "sha256-FxpUe0o8YeGuOAciSm967HXjZMQ5XnViZJ1zNXaAAaI=";
}; };
checkInputs = [ pytest pyhamcrest ]; checkInputs = [
checkPhase = '' pyhamcrest
pytest pytest-benchmark
''; pytestCheckHook
];
pythonImportsCheck = [ "base58" ];
meta = with lib; { meta = with lib; {
description = "Base58 and Base58Check implementation"; description = "Base58 and Base58Check implementation";