Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
962 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, asgiref, buildPythonPackage, django, fetchFromGitHub, pytest-django, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "django-htmx"; version = "1.23.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "adamchainz"; repo = "django-htmx"; rev = version; hash = "sha256-IgVkHgTk4hC0lL6LVM16QoT2xtPWxKNu+NrcyxZ5oVY="; };
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/${version}/docs/changelog.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ minijackson ]; };}