depot/third_party/nixpkgs/pkgs/development/python-modules/drf-writable-nested/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
820 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
djangorestframework,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "drf-writable-nested";
version = "0.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "beda-software";
repo = "drf-writable-nested";
rev = "refs/tags/v${version}";
hash = "sha256-/7MZAw0clzzlBdYchUVKldWT7WqtwdSe+016QAP0hqk=";
};
propagatedBuildInputs = [
django
djangorestframework
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
meta = with lib; {
description = "Writable nested model serializer for Django REST Framework";
homepage = "https://github.com/beda-software/drf-writable-nested";
license = licenses.bsd2;
maintainers = with maintainers; [ ambroisie ];
};
}