Merge pull request #174568 from SuperSandro2000/djangorestframework-camel-case

python310Packages.djangorestframework-camel-case: init at 1.3.0
This commit is contained in:
Sandro 2022-05-25 20:29:03 +02:00 committed by GitHub
commit bc035f6792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, djangorestframework
, six
}:
buildPythonPackage rec {
pname = "djangorestframework-camel-case";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-31kTYv+kSMjwo1TFauilP7eruxXiIpUdDG9feBYzkH4=";
};
propagatedBuildInputs = [
djangorestframework
];
checkInputs = [
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 = with lib; {
description = "Camel case JSON support for Django REST framework";
homepage = "https://github.com/vbabiy/djangorestframework-camel-case";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -2392,6 +2392,8 @@ in {
djangorestframework-dataclasses = callPackage ../development/python-modules/djangorestframework-dataclasses { };
djangorestframework-camel-case = callPackage ../development/python-modules/djangorestframework-camel-case { };
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };
django_reversion = callPackage ../development/python-modules/django_reversion { };