diff --git a/pkgs/development/python-modules/bsddb3/default.nix b/pkgs/development/python-modules/bsddb3/default.nix deleted file mode 100644 index b2413d2f9359..000000000000 --- a/pkgs/development/python-modules/bsddb3/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ - lib, - buildPythonPackage, - pythonAtLeast, - python, - fetchPypi, - setuptools, - pkgs, -}: - -buildPythonPackage rec { - pname = "bsddb3"; - version = "6.2.9"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - sha256 = "70d05ec8dc568f42e70fc919a442e0daadc2a905a1cfb7ca77f549d49d6e7801"; - }; - - build-system = [ setuptools ]; - - buildInputs = [ pkgs.db ]; - - # See : https://github.com/NixOS/nixpkgs/pull/311198#discussion_r1599257522 - # More details here : https://www.jcea.es/programacion/pybsddb.htm - disabled = pythonAtLeast "3.10"; - - # Path to database need to be set. - # Somehow the setup.py flag is not propagated. - #setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ]; - # We can also use a variable - preConfigure = '' - export BERKELEYDB_DIR=${pkgs.db.dev}; - ''; - - postPatch = '' - substituteInPlace test3.py \ - --replace-fail "from distutils.util import get_platform" "from sysconfig import get_platform" \ - --replace-fail "sys.config[0:3]" "sys.implementation.cache_tag" - ''; - - checkPhase = '' - ${python.interpreter} test.py - ''; - - meta = { - description = "Python bindings for Oracle Berkeley DB"; - homepage = "https://www.jcea.es/programacion/pybsddb.htm"; - license = with lib.licenses; [ agpl3Only ]; # License changed from bsd3 to agpl3 since 6.x - maintainers = [ ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 98ac4465a8c0..756c28ec3492 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -88,6 +88,7 @@ mapAliases { bkcharts = throw "'bkcharts' has been removed as the upstream repository was archived in 2018"; # added 2025-08-26 BlinkStick = throw "'BlinkStick' has been renamed to/replaced by 'blinkstick'"; # Converted to throw 2025-10-29 bsblan = throw "'bsblan' has been renamed to/replaced by 'python-bsblan'"; # Converted to throw 2025-10-29 + bsddb3 = throw "'bsddb3' has been removed because it was deprecated in favor of 'berkeleydb'"; # added 2026-01-20 bt_proximity = throw "'bt_proximity' has been renamed to/replaced by 'bt-proximity'"; # Converted to throw 2025-10-29 btchip = throw "'btchip' has been renamed to/replaced by 'btchip-python'"; # Converted to throw 2025-10-29 BTrees = throw "'BTrees' has been renamed to/replaced by 'btrees'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c898b53f6365..69b0df2abd0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2285,8 +2285,6 @@ self: super: with self; { brunt = callPackage ../development/python-modules/brunt { }; - bsddb3 = callPackage ../development/python-modules/bsddb3 { }; - bsdiff4 = callPackage ../development/python-modules/bsdiff4 { }; bson = callPackage ../development/python-modules/bson { };