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