python312Packages.flatten-json: init at 0.1.13 (#359227)
This commit is contained in:
commit
46e6c6d8af
40
pkgs/development/python-modules/flatten-json/default.nix
Normal file
40
pkgs/development/python-modules/flatten-json/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flatten-json";
|
||||
version = "0.1.13";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amirziai";
|
||||
repo = "flatten";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ViOLbfJtFWkDQ5cGNYerTk2BqVg5f5B3hZ96t0uvhpk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ six ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "flatten_json" ];
|
||||
|
||||
meta = {
|
||||
description = "Flatten JSON in Python";
|
||||
homepage = "https://github.com/amirziai/flatten";
|
||||
changelog = "https://github.com/amirziai/flatten/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4717,6 +4717,8 @@ self: super: with self; {
|
||||
|
||||
flatten-dict = callPackage ../development/python-modules/flatten-dict { };
|
||||
|
||||
flatten-json = callPackage ../development/python-modules/flatten-json { };
|
||||
|
||||
flax = callPackage ../development/python-modules/flax { };
|
||||
|
||||
flaxlib = callPackage ../development/python-modules/flaxlib { };
|
||||
|
Loading…
Reference in New Issue
Block a user