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