Files
nixpkgs/pkgs/development/python-modules/jsonfield/default.nix
Martin Weinelt 4f01cff11e python3Packages.jsonfield: 3.1.0 -> 3.2.0
This commit was automatically generated using update-python-libraries.
2025-08-09 19:00:10 +02:00

36 lines
788 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
django,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "jsonfield";
version = "3.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ylOHG8MwiuT0zdw7T5ntXG/Gq7GDL7+0mbxtpWbHDko=";
};
nativeCheckInputs = [
pytestCheckHook
pytest-django
];
preCheck = "export DJANGO_SETTINGS_MODULE=tests.settings";
propagatedBuildInputs = [ django ];
meta = with lib; {
description = "Reusable model field that allows you to store validated JSON, automatically handling serialization to and from the database";
homepage = "https://github.com/rpkilby/jsonfield/";
license = licenses.mit;
maintainers = with maintainers; [ mrmebelman ];
};
}