1{ lib
2, buildPythonPackage
3, fetchPypi
4, djangorestframework
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "djangorestframework-camel-case";
10 version = "1.3.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-31kTYv+kSMjwo1TFauilP7eruxXiIpUdDG9feBYzkH4=";
15 };
16
17 propagatedBuildInputs = [
18 djangorestframework
19 ];
20
21 checkInputs = [
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; [ SuperSandro2000 ];
36 };
37}