1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 django,
7 django-pgactivity,
8}:
9
10buildPythonPackage rec {
11 pname = "django-pglock";
12 version = "1.7.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "Opus10";
17 repo = "django-pglock";
18 tag = version;
19 hash = "sha256-7PBZvI4OTDIZjjLWnfOwGAdEJr3D6snmR20hPboLvXc=";
20 };
21
22 build-system = [ poetry-core ];
23
24 dependencies = [
25 django
26 django-pgactivity
27 ];
28
29 pythonImportsCheck = [ "pglock" ];
30
31 meta = {
32 description = "Postgres advisory locks, table locks, and blocking lock management";
33 homepage = "https://github.com/Opus10/django-pglock";
34 changelog = "https://github.com/Opus10/django-pglock/blob/${version}/CHANGELOG.md";
35 license = lib.licenses.bsd3;
36 maintainers = with lib.maintainers; [ jopejoe1 ];
37 };
38}