Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
962 B
Nix
48 lines
962 B
Nix
{
|
|
lib,
|
|
asgiref,
|
|
buildPythonPackage,
|
|
django,
|
|
fetchFromGitHub,
|
|
pytest-django,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-htmx";
|
|
version = "1.26.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "adamchainz";
|
|
repo = "django-htmx";
|
|
rev = version;
|
|
hash = "sha256-cJpZsjPAg1ss1dxhvjY+Xw29xAzuHzlVSDxUfAU9fgI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|