summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/djangorestframework-camel-case/default.nix
blob: bcb0d5c384f5dc896e5da7d42214563800409364 (plain)
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,
  buildPythonPackage,
  fetchPypi,
  djangorestframework,
  six,
}:

buildPythonPackage rec {
  pname = "djangorestframework-camel-case";
  version = "1.4.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-za51hGZIq7ZYXHRwY5odL7Bk3EX46LYqqlC+fxp6YfQ=";
  };

  propagatedBuildInputs = [ djangorestframework ];

  nativeCheckInputs = [ six ];

  # tests are only on GitHub but there are no tags
  # https://github.com/vbabiy/djangorestframework-camel-case/issues/116
  doCheck = false;

  pythonImportsCheck = [ "djangorestframework_camel_case" ];

  meta = {
    description = "Camel case JSON support for Django REST framework";
    homepage = "https://github.com/vbabiy/djangorestframework-camel-case";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}