Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchFromGitHub, jsonconversion, six, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "amazon-ion"; version = "0.9.3"; format = "setuptools";
disabled = pythonOlder "3.7";
# test vectors require git submodule src = fetchFromGitHub { owner = "amzn"; repo = "ion-python"; rev = "v${version}"; fetchSubmodules = true; hash = "sha256-FLwzHcge+vLcRY4gOzrxS3kWlprCkRXX5KeGOoTJDSw="; };
postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner'," "" '';
propagatedBuildInputs = [ jsonconversion six ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # ValueError: Exceeds the limit (4300) for integer string conversion "test_roundtrips" ];
pythonImportsCheck = [ "amazon.ion" ];
meta = with lib; { description = "Python implementation of Amazon Ion"; homepage = "https://github.com/amzn/ion-python"; sourceProvenance = with sourceTypes; [ fromSource binaryNativeCode ]; license = licenses.asl20; maintainers = with maintainers; [ terlar ]; };}