33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
38 lines
844 B
Nix
38 lines
844 B
Nix
{ 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
|
|
];
|
|
|
|
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; [ SuperSandro2000 ];
|
|
};
|
|
}
|