Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
828 B
Nix
36 lines
828 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 = [ ];
|
|
};
|
|
}
|