mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python310Packages.json-stream: init at 1.3.0
This commit is contained in:
parent
c01fa626c8
commit
64305297ad
39
pkgs/development/python-modules/json-stream/default.nix
Normal file
39
pkgs/development/python-modules/json-stream/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user