Loading pkgs/by-name/au/authentik/package.nix +0 −13 Original line number Diff line number Diff line Loading @@ -110,19 +110,6 @@ let python = python312.override { self = python; packageOverrides = final: prev: { 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"; 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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -3315,6 +3315,8 @@ self: super: with self; { django-csp = callPackage ../development/python-modules/django-csp { }; django-cte = callPackage ../development/python-modules/django-cte { }; django-currentuser = callPackage ../development/python-modules/django-currentuser { }; django-debug-toolbar = callPackage ../development/python-modules/django-debug-toolbar { }; Loading Loading
pkgs/by-name/au/authentik/package.nix +0 −13 Original line number Diff line number Diff line Loading @@ -110,19 +110,6 @@ let python = python312.override { self = python; packageOverrides = final: prev: { 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"; 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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -3315,6 +3315,8 @@ self: super: with self; { django-csp = callPackage ../development/python-modules/django-csp { }; django-cte = callPackage ../development/python-modules/django-cte { }; django-currentuser = callPackage ../development/python-modules/django-currentuser { }; django-debug-toolbar = callPackage ../development/python-modules/django-debug-toolbar { }; Loading