blob: 7e9e787b808694c5fd189f8010ec2e0ec115da2c (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
django,
psycopg,
}:
buildPythonPackage rec {
pname = "django-tenants";
version = "3.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "django-tenants";
repo = "django-tenants";
tag = "v${version}";
hash = "sha256-oj8nh2qzdTChu6URvfWEj6FeqPq38h5N8V2G/e6hE/Q=";
};
build-system = [ setuptools ];
dependencies = [
django
psycopg
];
pythonImportsCheck = [ "django_tenants" ];
meta = {
description = "Django tenants using PostgreSQL Schemas";
homepage = "https://github.com/django-tenants/django-tenants";
changelog = "https://github.com/django-tenants/django-tenants/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jopejoe1 ];
};
}
|