Files
nixpkgs/pkgs/development/python-modules/genson/default.nix
Fabian Affolter 54c7fef77a python3Packages.genson: 1.3.0 -> 1.4.0
This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:24 +02:00

42 lines
819 B
Nix

{
buildPythonPackage,
fetchPypi,
jsonschema,
lib,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "genson";
version = "1.4.0";
pyproject = true;
# Using Python repository source due to missing genson.schema in setup tools.
src = fetchPypi {
inherit pname version;
hash = "sha256-vH8cG66HohykTYEUmuyVo/RGjWdt6biwjKoGTzxQs9o=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
jsonschema
pytestCheckHook
];
disabledTests = [
"test_no_input"
];
pythonImportsCheck = [ "genson" ];
meta = {
description = "GenSON a JSON Schema generator built in Python";
homepage = "https://github.com/wolverdude/GenSON";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tochiaha ];
mainProgram = "genson";
};
}