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