python312Packages.json-stream: 2.3.2 -> 2.3.3 (#373396)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
iconv,
|
||||
httpx,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
@@ -13,24 +13,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "json-stream";
|
||||
version = "2.3.2";
|
||||
format = "pyproject";
|
||||
version = "2.3.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-uLRQ6o6OPCOenn440S/tk053o1PBSyl/juNFpc6yW5E=";
|
||||
pname = "json_stream";
|
||||
inherit version;
|
||||
hash = "sha256-iURExowzEXSSZ2PiJPs0t+0/kHSdHBZa/Q9ZMCB1NMQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ iconv ];
|
||||
dependencies = [ json-stream-rs-tokenizer ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
json-stream-rs-tokenizer
|
||||
];
|
||||
optional-dependencies = {
|
||||
httpx = [ httpx ];
|
||||
requests = [ requests ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -41,7 +42,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Streaming JSON parser";
|
||||
homepage = "https://github.com/daggaz/json-stream";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user