diff --git a/pkgs/by-name/mi/migra/package.nix b/pkgs/by-name/mi/migra/package.nix deleted file mode 100644 index 0829c79e0493..000000000000 --- a/pkgs/by-name/mi/migra/package.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ - lib, - python3, - fetchFromGitHub, - postgresql, - postgresqlTestHook, -}: -python3.pkgs.buildPythonApplication rec { - pname = "migra"; - version = "3.0.1647431138"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "djrobstep"; - repo = "migra"; - rev = version; - hash = "sha256-LSCJA5Ym1LuV3EZl6gnl9jTHGc8A1LXmR1fj0ZZc+po="; - }; - - nativeBuildInputs = [ - python3.pkgs.poetry-core - ]; - - propagatedBuildInputs = with python3.pkgs; [ - schemainspect - six - sqlbag - ]; - - nativeCheckInputs = with python3.pkgs; [ - pytestCheckHook - postgresql - postgresqlTestHook - ]; - preCheck = '' - export PGUSER="nixbld"; - ''; - disabledTests = [ - # These all fail with "List argument must consist only of tuples or dictionaries": - # See this issue: https://github.com/djrobstep/migra/issues/232 - "test_excludeschema" - "test_fixtures" - "test_rls" - "test_singleschema" - ]; - - pytestFlags = [ - "-x" - "-svv" - ]; - - enabledTestPaths = [ - "tests" - ]; - - meta = with lib; { - description = "Like diff but for PostgreSQL schemas"; - homepage = "https://github.com/djrobstep/migra"; - license = with licenses; [ unlicense ]; - maintainers = with maintainers; [ bpeetz ]; - }; -} diff --git a/pkgs/development/python-modules/schemainspect/default.nix b/pkgs/development/python-modules/schemainspect/default.nix deleted file mode 100644 index 7a3c322168f0..000000000000 --- a/pkgs/development/python-modules/schemainspect/default.nix +++ /dev/null @@ -1,117 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - fetchpatch, - pythonOlder, - sqlalchemy, - sqlbag, - setuptools, - poetry-core, - pytestCheckHook, - pytest-xdist, - pytest-sugar, - postgresql, - postgresqlTestHook, -}: -buildPythonPackage { - pname = "schemainspect"; - version = "3.1.1663587362"; - format = "pyproject"; - disabled = pythonOlder "3.7"; - - src = fetchFromGitHub { - owner = "djrobstep"; - repo = "schemainspect"; - # no tags on github, version patch number is unix time. - rev = "066262d6fb4668f874925305a0b7dbb3ac866882"; - hash = "sha256-SYpQQhlvexNc/xEgSIk8L8J+Ta+3OZycGLeZGQ6DWzk="; - }; - - patches = [ - # https://github.com/djrobstep/schemainspect/pull/87 - (fetchpatch { - name = "specify_poetry.patch"; - url = "https://github.com/djrobstep/schemainspect/commit/bdcd001ef7798236fe0ff35cef52f34f388bfe68.patch"; - hash = "sha256-/SEmcV9GjjvzfbszeGPkfd2DvYenl7bZyWdC0aI3M4M="; - }) - ]; - - nativeBuildInputs = [ poetry-core ]; - propagatedBuildInputs = [ - setuptools # needed for 'pkg_resources' - sqlalchemy - ]; - - nativeCheckInputs = [ - pytestCheckHook - pytest-xdist - pytest-sugar - - postgresql - postgresqlTestHook - - sqlbag - ]; - - preCheck = '' - export PGUSER="nixbld"; - export postgresqlEnableTCP=1; - ''; - disabledTests = [ - # These all fail with "List argument must consist only of tuples or dictionaries": - # Related issue: https://github.com/djrobstep/schemainspect/issues/88 - "test_can_replace" - "test_collations" - "test_constraints" - "test_dep_order" - "test_enum_deps" - "test_exclusion_constraint" - "test_fk_col_order" - "test_fk_info" - "test_generated_columns" - "test_identity_columns" - "test_indexes" - "test_inherit" - "test_kinds" - "test_lineendings" - "test_long_identifiers" - "test_partitions" - "test_postgres_inspect" - "test_postgres_inspect_excludeschema" - "test_postgres_inspect_sigleschema" - "test_raw_connection" - "test_relationship" - "test_replica_trigger" - "test_rls" - "test_separate_validate" - "test_sequences" - "test_table_dependency_order" - "test_types_and_domains" - "test_view_trigger" - "test_weird_names" - ]; - - pytestFlags = [ - "-x" - "-svv" - ]; - - enabledTestPaths = [ - "tests" - ]; - - pythonImportsCheck = [ "schemainspect" ]; - - postUnpack = '' - # this dir is used to bump the version number, having it here fails the build - rm -r ./source/deploy - ''; - - meta = with lib; { - description = "Schema inspection for PostgreSQL, and potentially others"; - homepage = "https://github.com/djrobstep/schemainspect"; - license = with licenses; [ unlicense ]; - maintainers = with maintainers; [ bpeetz ]; - }; -} diff --git a/pkgs/development/python-modules/sqlbag/default.nix b/pkgs/development/python-modules/sqlbag/default.nix deleted file mode 100644 index f3cf77bbb993..000000000000 --- a/pkgs/development/python-modules/sqlbag/default.nix +++ /dev/null @@ -1,92 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - psycopg2, - pymysql, - sqlalchemy, - six, - flask, - pendulum, - packaging, - setuptools, - poetry-core, - pytestCheckHook, - pytest-xdist, - pytest-sugar, - postgresql, - postgresqlTestHook, -}: -buildPythonPackage { - pname = "sqlbag"; - version = "0.1.1617247075"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "djrobstep"; - repo = "sqlbag"; - # no tags on github, version patch number is unix time. - rev = "eaaeec4158ffa139fba1ec30d7887f4d836f4120"; - hash = "sha256-lipgnkqrzjzqwbhtVcWDQypBNzq6Dct/qoM8y/FNiNs="; - }; - - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ - sqlalchemy - six - packaging - - psycopg2 - pymysql - - setuptools # needed for 'pkg_resources' - ]; - - nativeCheckInputs = [ - pytestCheckHook - pytest-xdist - pytest-sugar - - postgresql - postgresqlTestHook - - flask - pendulum - ]; - - preCheck = '' - export PGUSER="nixbld"; - ''; - - enabledTestPaths = [ - "tests" - ]; - - disabledTests = [ - # These all fail with "List argument must consist only of tuples or dictionaries": - # Related issue: https://github.com/djrobstep/sqlbag/issues/14 - "test_basic" - "test_createdrop" - "test_errors_and_messages" - "test_flask_integration" - "test_orm_stuff" - "test_pendulum_for_time_types" - "test_transaction_separation" - ]; - - pytestFlags = [ - "-x" - "-svv" - ]; - - pythonImportsCheck = [ "sqlbag" ]; - - meta = with lib; { - description = "Handy python code for doing database things"; - homepage = "https://github.com/djrobstep/sqlbag"; - license = with licenses; [ unlicense ]; - maintainers = with maintainers; [ bpeetz ]; - broken = true; # Fails to build against the current flask version - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d9e6f16c5f80..d63a9ca40cd2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1755,6 +1755,7 @@ mapAliases { midori = throw "'midori' original project has been abandonned upstream and the package was broken for a while in nixpkgs"; # Added 2025-05-19 midori-unwrapped = midori; # Added 2025-05-19 MIDIVisualizer = midivisualizer; # Added 2024-06-12 + migra = throw "migra has been removed because it has transitively been marked as broken since May 2024, and is unmaintained upstream."; # Added 2025-10-11 mihomo-party = throw "'mihomo-party' has been removed due to upstream license violation"; # Added 2025-08-20 mikutter = throw "'mikutter' has been removed because the package was broken and had no maintainers"; # Added 2024-10-01 mime-types = mailcap; # Added 2022-01-21 @@ -2482,6 +2483,7 @@ mapAliases { spring = throw "spring has been removed, as it had been broken since 2023 (it was a game; maybe you’re thinking of spring-boot-cli?)"; # Added 2025-09-16 springLobby = throw "springLobby has been removed, as it had been broken since 2023"; # Added 2025-09-16 spring-boot = throw "'spring-boot' has been renamed to/replaced by 'spring-boot-cli'"; # Converted to throw 2024-10-17 + sqlbag = throw "sqlbag has been removed because it has been marked as broken since May 2024."; # Added 2025-10-11 sqldeveloper = throw "sqldeveloper was dropped due to being severely out-of-date and having a dependency on JavaFX for Java 8, which we do not support"; # Added 2024-11-02 srvc = throw "'srvc' has been removed, as it was broken and unmaintained"; # Added 2024-09-09 ssm-agent = amazon-ssm-agent; # Added 2023-10-17 diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 38ba752f21d9..39732909d89a 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -767,6 +767,7 @@ mapAliases { sabyenc = throw "sabyenc has been removed, due to no updates since June 2019 and being superseded by sabyenc3"; # added 2025-05-03 sampledata = throw "sampledata has been removed, it was unmaintained since 2017"; # added 2024-07-27 sapi-python-client = kbcstorage; # added 2022-04-20 + schemainspect = throw "schemainspect has been removed because it has transitively been marked broken since May 2024, and is unmaintained upstream."; # Added 2025-10-11 scikitimage = scikit-image; # added 2023-05-14 scikitlearn = scikit-learn; # added 2021-07-21 scikit-optimize = throw "scikit-optimize has been removed because it is abandoned"; # added 2024-09-30 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dd308da9c8d7..6aba5dec81f9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16444,8 +16444,6 @@ self: super: with self; { schema-salad = callPackage ../development/python-modules/schema-salad { }; - schemainspect = callPackage ../development/python-modules/schemainspect { }; - schemdraw = callPackage ../development/python-modules/schemdraw { }; schiene = callPackage ../development/python-modules/schiene { }; @@ -17528,8 +17526,6 @@ self: super: with self; { sqlalchemy_1_4 = callPackage ../development/python-modules/sqlalchemy/1_4.nix { }; - sqlbag = callPackage ../development/python-modules/sqlbag { }; - sqlcipher3 = callPackage ../development/python-modules/sqlcipher3 { }; sqlcipher3-binary = callPackage ../development/python-modules/sqlcipher3-binary { };