diff --git a/pkgs/development/python-modules/editdistance-s/default.nix b/pkgs/development/python-modules/editdistance-s/default.nix deleted file mode 100644 index a50fe7321dfc..000000000000 --- a/pkgs/development/python-modules/editdistance-s/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - pytestCheckHook, - cffi, -}: - -buildPythonPackage rec { - pname = "editdistance-s"; - version = "1.0.0"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "asottile"; - repo = "editdistance-s"; - rev = "v${version}"; - sha256 = "0w2qd5b6a3c3ahd0xy9ykq4wzqk0byqwdqrr26dyn8j2425j46lg"; - }; - - propagatedNativeBuildInputs = [ cffi ]; - - propagatedBuildInputs = [ cffi ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - pythonImportsCheck = [ "editdistance_s" ]; - - meta = with lib; { - description = "Fast implementation of the edit distance (Levenshtein distance)"; - homepage = "https://github.com/asottile/editdistance-s"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ austinbutler ]; - }; -} diff --git a/pkgs/development/python-modules/identify/default.nix b/pkgs/development/python-modules/identify/default.nix index f59607f9981e..114d232e0af7 100644 --- a/pkgs/development/python-modules/identify/default.nix +++ b/pkgs/development/python-modules/identify/default.nix @@ -1,10 +1,10 @@ { lib, buildPythonPackage, - editdistance-s, fetchFromGitHub, pytestCheckHook, pythonOlder, + cffi, setuptools, ukkonen, }: @@ -26,18 +26,18 @@ buildPythonPackage rec { build-system = [ setuptools ]; dependencies = [ - editdistance-s + cffi pytestCheckHook ukkonen ]; pythonImportsCheck = [ "identify" ]; - meta = with lib; { + meta = { description = "File identification library for Python"; - homepage = "https://github.com/chriskuehl/identify"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + homepage = "https://github.com/pre-commit/identify"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; mainProgram = "identify-cli"; }; } diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 63fc54d115f8..c545be2e4b11 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -230,6 +230,7 @@ mapAliases ({ dogpile_cache = dogpile-cache; # added 2021-10-28 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20 dugong = throw "dugong is unmaintained since 2022 and has therefore been removed"; # added 2024-12-12 + editdistance-s = throw "editdistance-s has been removed since it was added solely for the identity package, which has moved on to ukkonen"; # added 2025-08-04 eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03 EasyProcess = easyprocess; # added 2023-02-19 email_validator = email-validator; # added 2022-06-22 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c457a7041d67..4fbd9256b879 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4535,8 +4535,6 @@ self: super: with self; { editdistance = callPackage ../development/python-modules/editdistance { }; - editdistance-s = callPackage ../development/python-modules/editdistance-s { }; - editdistpy = callPackage ../development/python-modules/editdistpy { }; editor = callPackage ../development/python-modules/editor { };