Files
nixpkgs/pkgs/development/python-modules/django-choices-field/default.nix
Martin Weinelt 50b8df84db python3Packages.django-choices-field: 2.3.0 -> 4.0.0
This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:59 +01:00

49 lines
980 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
django,
typing-extensions,
inline-snapshot,
pytestCheckHook,
pytest-cov-stub,
pytest-django,
}:
buildPythonPackage rec {
pname = "django-choices-field";
version = "4.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "bellini666";
repo = "django-choices-field";
tag = "v${version}";
hash = "sha256-EnJMn6tAjhylY8qsT/T/N9v/w/vD+d93U2RMxwEcc84=";
};
build-system = [ poetry-core ];
dependencies = [
django
typing-extensions
];
nativeCheckInputs = [
inline-snapshot
pytestCheckHook
pytest-cov-stub
pytest-django
];
pythonImportsCheck = [ "django_choices_field" ];
meta = {
description = "Django field that set/get django's new TextChoices/IntegerChoices enum";
homepage = "https://github.com/bellini666/django-choices-field";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ minijackson ];
};
}