15 buildPythonPackage rec {
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 # Test vectors require git submodule
27 fetchSubmodules = true;
28 hash = "sha256-L21FYl4Q+nhB3CU1maOxBHSLU+ox1POHtMio8SSZ/r0=";
32 substituteInPlace setup.py \
33 --replace "'pytest-runner'," ""
36 nativeBuildInputs = [ setuptools ];
38 propagatedBuildInputs = [
51 # ValueError: Exceeds the limit (4300) for integer string conversion
57 "tests/test_benchmark_cli.py"
60 pythonImportsCheck = [ "amazon.ion" ];
63 description = "Python implementation of Amazon Ion";
64 homepage = "https://github.com/amazon-ion/ion-python";
65 changelog = "https://github.com/amazon-ion/ion-python/releases/tag/v${version}";
66 sourceProvenance = with sourceTypes; [
70 license = licenses.asl20;
71 maintainers = with maintainers; [ terlar ];