1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 django, 7 psycopg, 8}: 9 10buildPythonPackage rec { 11 pname = "django-tenants"; 12 version = "3.9.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "django-tenants"; 17 repo = "django-tenants"; 18 tag = "v${version}"; 19 hash = "sha256-oj8nh2qzdTChu6URvfWEj6FeqPq38h5N8V2G/e6hE/Q="; 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/${src.tag}"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ jopejoe1 ]; 37 }; 38}