Something went wrong. Try again.
lol
Something went wrong. Try again.
980 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ 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 ]; };}