11 buildPythonPackage rec {
12 pname = "py-multibase";
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
19 inherit pname version;
20 hash = "sha256-0oog78u2Huwo9VgnoL8ynHzqgP/9kzrsrqauhDEmf+Q=";
24 substituteInPlace setup.cfg \
25 --replace "[pytest]" "" \
26 --replace "python_classes = *TestCase" ""
27 substituteInPlace setup.py \
28 --replace "'pytest-runner'," ""
31 propagatedBuildInputs = [
37 nativeCheckInputs = [ pytestCheckHook ];
39 pythonImportsCheck = [ "multibase" ];
42 description = "Module for distinguishing base encodings and other simple string encodings";
43 homepage = "https://github.com/multiformats/py-multibase";
44 changelog = "https://github.com/multiformats/py-multibase/blob/v${version}/HISTORY.rst";
45 license = licenses.mit;
46 maintainers = with maintainers; [ rakesh4g ];