1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 djangorestframework,
6 six,
7}:
8
9buildPythonPackage rec {
10 pname = "djangorestframework-camel-case";
11 version = "1.4.2";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-za51hGZIq7ZYXHRwY5odL7Bk3EX46LYqqlC+fxp6YfQ=";
17 };
18
19 propagatedBuildInputs = [ djangorestframework ];
20
21 nativeCheckInputs = [ six ];
22
23 # tests are only on GitHub but there are no tags
24 # https://github.com/vbabiy/djangorestframework-camel-case/issues/116
25 doCheck = false;
26
27 pythonImportsCheck = [ "djangorestframework_camel_case" ];
28
29 meta = with lib; {
30 description = "Camel case JSON support for Django REST framework";
31 homepage = "https://github.com/vbabiy/djangorestframework-camel-case";
32 license = licenses.bsd3;
33 maintainers = [ ];
34 };
35}