Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, asgiref, buildPythonPackage, django, fetchFromGitHub, pytest-django, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "django-htmx"; version = "1.28.0"; pyproject = true;
src = fetchFromGitHub { owner = "adamchainz"; repo = "django-htmx"; tag = version; hash = "sha256-24TVOaV0VKFq506XSJ9q86sYifKOjNHeAjSskyhcst0="; };
build-system = [ setuptools ];
buildInputs = [ django ];
dependencies = [ asgiref ];
nativeCheckInputs = [ pytestCheckHook pytest-django ];
pythonImportsCheck = [ "django_htmx" ];
meta = { description = "Extensions for using Django with htmx"; homepage = "https://github.com/adamchainz/django-htmx"; changelog = "https://github.com/adamchainz/django-htmx/blob/${src.tag}/docs/changelog.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ minijackson ]; };}