2021-02-08 18:22:38 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyhamcrest
|
|
|
|
, pytest-benchmark
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2018-06-26 16:18:17 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "base58";
|
2021-02-08 18:22:38 +01:00
|
|
|
version = "2.1.0";
|
|
|
|
disabled = pythonOlder "3.5";
|
2018-06-26 16:18:17 +02:00
|
|
|
|
2019-01-17 15:27:40 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-08 18:22:38 +01:00
|
|
|
sha256 = "sha256-FxpUe0o8YeGuOAciSm967HXjZMQ5XnViZJ1zNXaAAaI=";
|
2018-06-26 16:18:17 +02:00
|
|
|
};
|
|
|
|
|
2021-02-08 18:22:38 +01:00
|
|
|
checkInputs = [
|
|
|
|
pyhamcrest
|
|
|
|
pytest-benchmark
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "base58" ];
|
2018-06-26 16:18:17 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-06-26 16:18:17 +02:00
|
|
|
description = "Base58 and Base58Check implementation";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/keis/base58";
|
2018-06-26 16:18:17 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|