Loading pkgs/by-name/au/authentik/package.nix +3 −105 Original line number Diff line number Diff line Loading @@ -110,75 +110,15 @@ let python = python312.override { self = python; packageOverrides = final: prev: { django-tenants = prev.buildPythonPackage rec { pname = "django-tenants"; version = "unstable-2024-01-11"; django-tenants = prev.django-tenants.overrideAttrs { version = "3.6.1-unstable-2024-01-11"; src = fetchFromGitHub { owner = "rissson"; repo = pname; repo = "django-tenants"; rev = "a7f37c53f62f355a00142473ff1e3451bb794eca"; hash = "sha256-YBT0kcCfETXZe0j7/f1YipNIuRrcppRVh1ecFS3cvNo="; }; format = "setuptools"; doCheck = false; # Tests require postgres propagatedBuildInputs = with final; [ django psycopg gunicorn ]; }; django-cte = prev.buildPythonPackage rec { pname = "django-cte"; version = "1.3.3"; src = fetchFromGitHub { owner = "dimagi"; repo = pname; rev = "v${version}"; hash = "sha256-OCENg94xHBeeE4A2838Cu3q2am2im2X4SkFSjc6DuhE="; }; doCheck = false; # Tests require postgres format = "setuptools"; }; 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"; src = fetchFromGitHub { owner = "Opus10"; repo = pname; rev = version; hash = "sha256-ZoEHDkGmrcNiMe/rbwXsEPZo3LD93cZp6zjftMKjLeg="; }; nativeBuildInputs = with prev; [ poetry-core ]; propagatedBuildInputs = with final; [ django django-pgactivity ]; pyproject = true; }; # Use 3.14.0 until https://github.com/encode/django-rest-framework/issues/9358 is fixed. # Otherwise applying blueprints/default/default-brand.yaml fails with: # authentik.flows.models.RelatedObjectDoesNotExist: FlowStageBinding has no target. Loading Loading @@ -213,48 +153,6 @@ let pythonImportsCheck = [ "rest_framework" ]; }; tenant-schemas-celery = prev.buildPythonPackage rec { pname = "tenant-schemas-celery"; version = "3.0.0"; src = fetchFromGitHub { owner = "maciej-gol"; repo = pname; rev = version; hash = "sha256-3ZUXSAOBMtj72sk/VwPV24ysQK+E4l1HdwKa78xrDtg="; }; format = "setuptools"; doCheck = false; propagatedBuildInputs = with final; [ freezegun more-itertools psycopg2 ]; }; scim2-filter-parser = prev.buildPythonPackage rec { pname = "scim2-filter-parser"; version = "0.5.1"; # For some reason the normal fetchPypi does not work src = fetchzip { url = "https://files.pythonhosted.org/packages/54/df/ad9718acce76e81a93c57327356eecd23701625f240fbe03d305250399e6/scim2_filter_parser-0.5.1.tar.gz"; hash = "sha256-DZAdRj6qyySggsvJZC47vdvXbHrB1ra3qiYBEUiceJ4="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'poetry>=0.12' 'poetry-core>=1.0.0' \ --replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api' ''; nativeBuildInputs = [ prev.poetry-core ]; pyproject = true; propagatedBuildInputs = with final; [ sly ]; }; authentik-django = prev.buildPythonPackage { pname = "authentik-django"; inherit version src meta; Loading pkgs/development/python-modules/django-cte/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, unittestCheckHook, setuptools, django, }: buildPythonPackage rec { pname = "django-cte"; version = "1.3.3"; pyproject = true; src = fetchFromGitHub { owner = "dimagi"; repo = "django-cte"; rev = "refs/tags/v${version}"; hash = "sha256-OCENg94xHBeeE4A2838Cu3q2am2im2X4SkFSjc6DuhE="; }; build-system = [ setuptools ]; dependencies = [ django ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # Require Database connection "test_cte_queryset" "test_experimental_left_outer_join" "test_explain" "test_left_outer_join_on_empty_result_set_cte" "test_named_ctes" "test_named_simple_ctes" "test_non_cte_subquery" "test_outerref_in_cte_query" "test_simple_cte_query" "test_update_cte_query" "test_update_with_subquery" "test_heterogeneous_filter_in_cte" "test_raw_cte_sql" "test_alias_as_subquery" "test_alias_change_in_annotation" "test_attname_should_not_mask_col_name" "test_pickle_recursive_cte_queryset" "test_recursive_cte_query" "test_recursive_cte_reference_in_condition" "test_union_with_first" "test_union_with_select_related_and_first" "test_union_with_select_related_and_order" ]; pythonImportsCheck = [ "django_cte" ]; meta = { description = "Common Table Expressions (CTE) for Django"; homepage = "https://github.com/dimagi/django-cte"; changelog = "https://github.com/dimagi/django-cte/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ jopejoe1 ]; }; } pkgs/development/python-modules/django-pgactivity/default.nix 0 → 100644 +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 ]; }; } pkgs/development/python-modules/django-pglock/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, poetry-core, django, django-pgactivity, }: buildPythonPackage rec { pname = "django-pglock"; version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Opus10"; repo = "django-pglock"; rev = "refs/tags/${version}"; hash = "sha256-KCB00W3sUyEERgK/DfDPl051uFkc0IRdbOJusUVs5SA="; }; build-system = [ poetry-core ]; dependencies = [ django django-pgactivity ]; pythonImportsCheck = [ "pglock" ]; meta = { description = "Postgres advisory locks, table locks, and blocking lock management"; homepage = "https://github.com/Opus10/django-pglock"; changelog = "https://github.com/Opus10/django-pglock/blob/${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ jopejoe1 ]; }; } pkgs/development/python-modules/django-tenants/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, django, psycopg, }: buildPythonPackage rec { pname = "django-tenants"; version = "3.7.0"; pyproject = true; src = fetchFromGitHub { owner = "django-tenants"; repo = "django-tenants"; rev = "refs/tags/v${version}"; hash = "sha256-QdEONKVFW/DWBjXWRTG+ahvirw9BP8M6PztUMZGZ33Q="; }; 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/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jopejoe1 ]; }; } Loading
pkgs/by-name/au/authentik/package.nix +3 −105 Original line number Diff line number Diff line Loading @@ -110,75 +110,15 @@ let python = python312.override { self = python; packageOverrides = final: prev: { django-tenants = prev.buildPythonPackage rec { pname = "django-tenants"; version = "unstable-2024-01-11"; django-tenants = prev.django-tenants.overrideAttrs { version = "3.6.1-unstable-2024-01-11"; src = fetchFromGitHub { owner = "rissson"; repo = pname; repo = "django-tenants"; rev = "a7f37c53f62f355a00142473ff1e3451bb794eca"; hash = "sha256-YBT0kcCfETXZe0j7/f1YipNIuRrcppRVh1ecFS3cvNo="; }; format = "setuptools"; doCheck = false; # Tests require postgres propagatedBuildInputs = with final; [ django psycopg gunicorn ]; }; django-cte = prev.buildPythonPackage rec { pname = "django-cte"; version = "1.3.3"; src = fetchFromGitHub { owner = "dimagi"; repo = pname; rev = "v${version}"; hash = "sha256-OCENg94xHBeeE4A2838Cu3q2am2im2X4SkFSjc6DuhE="; }; doCheck = false; # Tests require postgres format = "setuptools"; }; 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"; src = fetchFromGitHub { owner = "Opus10"; repo = pname; rev = version; hash = "sha256-ZoEHDkGmrcNiMe/rbwXsEPZo3LD93cZp6zjftMKjLeg="; }; nativeBuildInputs = with prev; [ poetry-core ]; propagatedBuildInputs = with final; [ django django-pgactivity ]; pyproject = true; }; # Use 3.14.0 until https://github.com/encode/django-rest-framework/issues/9358 is fixed. # Otherwise applying blueprints/default/default-brand.yaml fails with: # authentik.flows.models.RelatedObjectDoesNotExist: FlowStageBinding has no target. Loading Loading @@ -213,48 +153,6 @@ let pythonImportsCheck = [ "rest_framework" ]; }; tenant-schemas-celery = prev.buildPythonPackage rec { pname = "tenant-schemas-celery"; version = "3.0.0"; src = fetchFromGitHub { owner = "maciej-gol"; repo = pname; rev = version; hash = "sha256-3ZUXSAOBMtj72sk/VwPV24ysQK+E4l1HdwKa78xrDtg="; }; format = "setuptools"; doCheck = false; propagatedBuildInputs = with final; [ freezegun more-itertools psycopg2 ]; }; scim2-filter-parser = prev.buildPythonPackage rec { pname = "scim2-filter-parser"; version = "0.5.1"; # For some reason the normal fetchPypi does not work src = fetchzip { url = "https://files.pythonhosted.org/packages/54/df/ad9718acce76e81a93c57327356eecd23701625f240fbe03d305250399e6/scim2_filter_parser-0.5.1.tar.gz"; hash = "sha256-DZAdRj6qyySggsvJZC47vdvXbHrB1ra3qiYBEUiceJ4="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'poetry>=0.12' 'poetry-core>=1.0.0' \ --replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api' ''; nativeBuildInputs = [ prev.poetry-core ]; pyproject = true; propagatedBuildInputs = with final; [ sly ]; }; authentik-django = prev.buildPythonPackage { pname = "authentik-django"; inherit version src meta; Loading
pkgs/development/python-modules/django-cte/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, unittestCheckHook, setuptools, django, }: buildPythonPackage rec { pname = "django-cte"; version = "1.3.3"; pyproject = true; src = fetchFromGitHub { owner = "dimagi"; repo = "django-cte"; rev = "refs/tags/v${version}"; hash = "sha256-OCENg94xHBeeE4A2838Cu3q2am2im2X4SkFSjc6DuhE="; }; build-system = [ setuptools ]; dependencies = [ django ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # Require Database connection "test_cte_queryset" "test_experimental_left_outer_join" "test_explain" "test_left_outer_join_on_empty_result_set_cte" "test_named_ctes" "test_named_simple_ctes" "test_non_cte_subquery" "test_outerref_in_cte_query" "test_simple_cte_query" "test_update_cte_query" "test_update_with_subquery" "test_heterogeneous_filter_in_cte" "test_raw_cte_sql" "test_alias_as_subquery" "test_alias_change_in_annotation" "test_attname_should_not_mask_col_name" "test_pickle_recursive_cte_queryset" "test_recursive_cte_query" "test_recursive_cte_reference_in_condition" "test_union_with_first" "test_union_with_select_related_and_first" "test_union_with_select_related_and_order" ]; pythonImportsCheck = [ "django_cte" ]; meta = { description = "Common Table Expressions (CTE) for Django"; homepage = "https://github.com/dimagi/django-cte"; changelog = "https://github.com/dimagi/django-cte/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ jopejoe1 ]; }; }
pkgs/development/python-modules/django-pgactivity/default.nix 0 → 100644 +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 ]; }; }
pkgs/development/python-modules/django-pglock/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, poetry-core, django, django-pgactivity, }: buildPythonPackage rec { pname = "django-pglock"; version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Opus10"; repo = "django-pglock"; rev = "refs/tags/${version}"; hash = "sha256-KCB00W3sUyEERgK/DfDPl051uFkc0IRdbOJusUVs5SA="; }; build-system = [ poetry-core ]; dependencies = [ django django-pgactivity ]; pythonImportsCheck = [ "pglock" ]; meta = { description = "Postgres advisory locks, table locks, and blocking lock management"; homepage = "https://github.com/Opus10/django-pglock"; changelog = "https://github.com/Opus10/django-pglock/blob/${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ jopejoe1 ]; }; }
pkgs/development/python-modules/django-tenants/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, django, psycopg, }: buildPythonPackage rec { pname = "django-tenants"; version = "3.7.0"; pyproject = true; src = fetchFromGitHub { owner = "django-tenants"; repo = "django-tenants"; rev = "refs/tags/v${version}"; hash = "sha256-QdEONKVFW/DWBjXWRTG+ahvirw9BP8M6PztUMZGZ33Q="; }; 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/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jopejoe1 ]; }; }