blob: bf7e67eb6207be73e5d7f193f1678bebf8186f4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
fetchPypi,
buildPythonPackage,
django,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "jsonfield";
version = "3.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0yl828cd0m8jsyr4di6hcjdqmi31ijh5vk57mbpfl7p2gmcq8kky";
};
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 ];
};
}
|