Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, numpy, pdm-backend, pytestCheckHook, pythonAtLeast, setuptools,}:
buildPythonPackage rec { pname = "jsonconversion"; version = "1.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "DLR-RM"; repo = "python-jsonconversion"; tag = version; hash = "sha256-yWRpILAkwCvgh5bMiN9/XmS6U9zIQdDS8KVeTYxzDDw="; };
build-system = [ pdm-backend ];
pythonRemoveDeps = [ "pytest-runner" "pytest" ];
pythonRelaxDeps = [ "numpy" ];
dependencies = [ numpy setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsonconversion" ];
disabledTests = lib.optionals (pythonAtLeast "3.13") [ "test_dict" ];
meta = { description = "This python module helps converting arbitrary Python objects into JSON strings and back"; homepage = "https://github.com/DLR-RM/python-jsonconversion"; changelog = "https://github.com/DLR-RM/python-jsonconversion/releases/tag/${version}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ terlar ]; };}