1 { python3Packages, fetchFromGitHub, lib }:
3 python3Packages.buildPythonApplication rec {
6 disabled = python3Packages.pythonOlder "3.6";
8 src = fetchFromGitHub {
11 rev = "refs/tags/v${version}";
12 sha256 = "sha256-djpBdhCgtlm6+DiZVKSKh0nu30YVm/qZHlBHPtdObfU=";
15 propagatedBuildInputs = with python3Packages; [
23 pythonImportsCheck = [ "pgactivity" ];
26 description = "A top like application for PostgreSQL server activity monitoring";
27 homepage = "https://github.com/dalibo/pg_activity";
28 license = licenses.postgresql;
29 maintainers = with maintainers; [ mausch ];