Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
909 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchPypi, pythonAtLeast,
# build-system setuptools, setuptools-scm,
# tests pytestCheckHook, simplejson,}:
buildPythonPackage rec { pname = "jsonpickle"; version = "4.0.5"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-8pmBizk2fDYbPya9uoJ9QkmrXTg82TFE0PlLVBeqyzU="; };
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; };}