at 25.11-pre 38 lines 819 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 django, 7 psycopg, 8}: 9 10buildPythonPackage rec { 11 pname = "django-tenants"; 12 version = "3.7.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "django-tenants"; 17 repo = "django-tenants"; 18 tag = "v${version}"; 19 hash = "sha256-QdEONKVFW/DWBjXWRTG+ahvirw9BP8M6PztUMZGZ33Q="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 django 26 psycopg 27 ]; 28 29 pythonImportsCheck = [ "django_tenants" ]; 30 31 meta = { 32 description = "Django tenants using PostgreSQL Schemas"; 33 homepage = "https://github.com/django-tenants/django-tenants"; 34 changelog = "https://github.com/django-tenants/django-tenants/releases/tag/v${version}"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ jopejoe1 ]; 37 }; 38}