Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, hatchling, django, pytest-cov-stub, pytest-django, pytestCheckHook,}:
buildPythonPackage rec { pname = "django-tree-queries"; version = "0.24"; pyproject = true;
src = fetchFromGitHub { owner = "feincms"; repo = "django-tree-queries"; tag = version; hash = "sha256-VPJU/0tnnLSayJhuOO0YOtqegULF6CB6ve8/1ytFydA="; };
build-system = [ hatchling ];
nativeCheckInputs = [ django pytest-cov-stub pytest-django pytestCheckHook ];
preCheck = '' pushd tests export DJANGO_SETTINGS_MODULE=testapp.settings '';
postCheck = '' popd '';
pythonImportsCheck = [ "tree_queries" ];
meta = { description = "Adjacency-list trees for Django using recursive common table expressions. Supports PostgreSQL, sqlite, MySQL and MariaDB"; homepage = "https://github.com/feincms/django-tree-queries"; changelog = "https://github.com/feincms/django-tree-queries/blob/${src.tag}/CHANGELOG.rst"; license = lib.licenses.bsd3; maintainers = [ ]; };}