Files
nixpkgs/pkgs/development/python-modules/json5/default.nix
T
Martin Weinelt 4cb42f78b5 python3Packages.json5: 0.12.1 -> 0.13.0
https://github.com/dpranke/pyjson5/releases/tag/v0.13.0

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:22 +01:00

36 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "json5";
version = "0.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dpranke";
repo = "pyjson5";
tag = "v${version}";
hash = "sha256-KL5YsWSHS8xI+lQB+ZtdEKUHGKICOduZsBd51z4jItw=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "json5" ];
meta = {
description = "Python implementation of the JSON5 data format";
homepage = "https://github.com/dpranke/pyjson5";
changelog = "https://github.com/dpranke/pyjson5/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ veehaitch ];
mainProgram = "pyjson5";
};
}