Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, django-stubs, django, fetchFromGitHub, parameterized, pytest-cov-stub, pytest-django, pytestCheckHook, hatchling, hatch-vcs,}:
buildPythonPackage rec { pname = "django-modeltranslation"; version = "0.20.6"; pyproject = true;
src = fetchFromGitHub { owner = "deschler"; repo = "django-modeltranslation"; tag = "v${version}"; hash = "sha256-C06j3bzG03ygo76TGWzYraTwD6IgqP95Vl9eWoLlFA4="; };
build-system = [ hatchling hatch-vcs ];
dependencies = [ django ];
nativeCheckInputs = [ django-stubs pytestCheckHook pytest-cov-stub pytest-django parameterized ];
pythonImportsCheck = [ "modeltranslation" ];
meta = { description = "Translates Django models using a registration approach"; homepage = "https://github.com/deschler/django-modeltranslation"; changelog = "https://github.com/deschler/django-modeltranslation/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ augustebaum ]; };}