Commit e1ac4f7d authored by jopejoe1's avatar jopejoe1
Browse files

python3Packages.django-pgactivity: move out of authentik

parent 0792a843
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -110,24 +110,6 @@ let
  python = python312.override {
    self = python;
    packageOverrides = final: prev: {
      django-pgactivity = prev.buildPythonPackage rec {
        pname = "django-pgactivity";
        version = "1.4.1";
        src = fetchFromGitHub {
          owner = "Opus10";
          repo = pname;
          rev = version;
          hash = "sha256-VwH7fwLcoH2Z9D/OY9iieM0cRhyDKOpAzqQ+4YVE3vU=";
        };
        nativeBuildInputs = with prev; [
          poetry-core
        ];
        propagatedBuildInputs = with final; [
          django
        ];
        pyproject = true;
      };

      django-pglock = prev.buildPythonPackage rec {
        pname = "django-pglock";
        version = "1.5.1";
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  django,
  psycopg,
}:

buildPythonPackage rec {
  pname = "django-pgactivity";
  version = "1.5.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Opus10";
    repo = "django-pgactivity";
    rev = "refs/tags/${version}";
    hash = "sha256-jOpm/vYy3Ubi+NfvARH19ozZMUgyGD/ZztqxKNvAoLQ=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    django
    psycopg
  ];

  pythonImportsCheck = [ "pgactivity" ];

  meta = {
    description = "View, filter, and kill Postgres queries";
    homepage = "https://github.com/Opus10/django-pgactivity";
    changelog = "https://github.com/Opus10/django-pgactivity/blob/${version}/CHANGELOG.md";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ jopejoe1 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3413,6 +3413,8 @@ self: super: with self; {
  django-payments = callPackage ../development/python-modules/django-payments { };
  django-pgactivity = callPackage ../development/python-modules/django-pgactivity { };
  django-pglocks = callPackage ../development/python-modules/django-pglocks { };
  django-phonenumber-field = callPackage ../development/python-modules/django-phonenumber-field { };