python310Packages.amazon-ion: init at 0.8.0

This commit is contained in:
Terje Larsen 2022-03-30 10:53:45 +02:00
parent a7cf1dfd8b
commit 98a2765768
No known key found for this signature in database
GPG key ID: A88B401A8DB3C7D6
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, jsonconversion, six, pytestCheckHook }:
buildPythonPackage rec {
pname = "amazon-ion";
version = "0.8.0";
src = fetchPypi {
pname = "amazon.ion";
inherit version;
sha256 = "sha256-vtztUHSnGoPYozhwvigxEdieVtbKNfV4B5yZ4MHaWGw=";
};
postPatch = ''
substituteInPlace setup.py --replace "'pytest-runner'," ""
'';
propagatedBuildInputs = [ jsonconversion six ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "amazon.ion" ];
meta = with lib; {
description = "A Python implementation of Amazon Ion";
homepage = "https://github.com/amzn/ion-python";
license = licenses.asl20;
maintainers = [ maintainers.terlar ];
};
}

View file

@ -470,6 +470,8 @@ in {
altair = callPackage ../development/python-modules/altair { };
amazon-ion = callPackage ../development/python-modules/amazon-ion { };
amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };
ambee = callPackage ../development/python-modules/ambee { };