python3Packages.json-flatten: init at 0.3.1

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-07-02 11:38:44 -04:00
parent 3ba66059e3
commit dfdbb66cca
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "json-flatten";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "json-flatten";
tag = version;
hash = "sha256-zAaunWuFAokC16FwHRHgyvq27pNUEGXJfSqTQ1wvXE8=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"json_flatten"
];
meta = {
description = "Functions for flattening a JSON object to a single dictionary of pairs";
license = lib.licenses.asl20;
homepage = "https://github.com/simonw/json-flatten";
maintainers = with lib.maintainers; [ ethancedwards8 ];
changelog = "https://github.com/simonw/json-flatten/releases/tag/${version}";
};
}
+2
View File
@@ -7308,6 +7308,8 @@ self: super: with self; {
json-api-doc = callPackage ../development/python-modules/json-api-doc { };
json-flatten = callPackage ../development/python-modules/json-flatten { };
json-home-client = callPackage ../development/python-modules/json-home-client { };
json-logging = callPackage ../development/python-modules/json-logging { };