blob: c0914c269b6db8f0847c45cb1ed9e6ed9c8dfe6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
asgiref,
buildPythonPackage,
django,
fetchFromGitHub,
pytest-django,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "django-htmx";
version = "1.26.0";
pyproject = true;
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 ];
};
}
|