python310Packages.amazon-ion: init at 0.8.0
This commit is contained in:
parent
a7cf1dfd8b
commit
98a2765768
29
pkgs/development/python-modules/amazon-ion/default.nix
Normal file
29
pkgs/development/python-modules/amazon-ion/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user