python310Packages.json-stream: init at 1.3.0

This commit is contained in:
Fabian Affolter 2022-06-13 17:25:39 +02:00
parent c01fa626c8
commit 64305297ad
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "json-stream";
version = "1.3.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-J5DBa8zeandkDIXpEaRN6cneZIIG2aRHS5zjmM/H0Uw=";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"json_stream"
];
meta = with lib; {
description = "Streaming JSON parser";
homepage = "https://github.com/daggaz/json-stream";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4550,6 +4550,8 @@ in {
json-schema-for-humans = callPackage ../development/python-modules/json-schema-for-humans { };
json-stream = callPackage ../development/python-modules/json-stream { };
jsonnet = buildPythonPackage { inherit (pkgs.jsonnet) name src; };
jsonpatch = callPackage ../development/python-modules/jsonpatch { };