Files
nixpkgs/pkgs/development/python-modules/jsonpickle/default.nix
Martin Weinelt 924ff67ad2 python3Packages.jsonpickle: 4.0.5 -> 4.1.1
This commit was automatically generated using update-python-libraries.
2025-08-09 19:00:10 +02:00

52 lines
909 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
# build-system
setuptools,
setuptools-scm,
# tests
pytestCheckHook,
simplejson,
}:
buildPythonPackage rec {
pname = "jsonpickle";
version = "4.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-+G4Y8T4rlsHB7t4Le5AJW7th2Z/twUgTxE3C82HbuuE=";
};
build-system = [
setuptools
setuptools-scm
];
preCheck = ''
rm pytest.ini
'';
nativeCheckInputs = [
pytestCheckHook
simplejson
];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# imports distutils
"test_thing_with_submodule"
];
meta = with lib; {
description = "Python library for serializing any arbitrary object graph into JSON";
downloadPage = "https://github.com/jsonpickle/jsonpickle";
homepage = "http://jsonpickle.github.io/";
license = licenses.bsd3;
};
}