e8ab8d19f6
Diff: https://github.com/adamchainz/django-htmx/compare/1.19.0...1.21.0 Changelog: https://github.com/adamchainz/django-htmx/blob/1.21.0/docs/changelog.rst
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.21.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "adamchainz";
|
|
repo = "django-htmx";
|
|
rev = version;
|
|
hash = "sha256-2zmCJ+oHvw21lvCgAFja2LRPA6LNWep4uRor0z1Ft6g=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|