mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
39 lines
851 B
Nix
39 lines
851 B
Nix
{ 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 = 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; [ ];
|
|
};
|
|
}
|