diff --git a/pkgs/linguistics/tatoebatools/cli.patch b/pkgs/linguistics/tatoebatools/cli.patch
index 58a800e47f3d7ec8e91278bfebabb9a557838d4b..1d153850dcf02d8c0d56ed7d1e56702a61dfe492 100644
--- a/pkgs/linguistics/tatoebatools/cli.patch
+++ b/pkgs/linguistics/tatoebatools/cli.patch
@@ -11,7 +11,7 @@ "pandas>=1.5.0",
"requests>=2.23.0",
"SQLAlchemy==1.4.23",
"tqdm>=4.46.0",
-+ "xdg",
++ "xdg-base-dirs",
],
)
@@ -22,10 +22,10 @@ --- /dev/null
+++ i/tatoebatools/cli.py
@@ -0,0 +1,13 @@
+import click
-+from xdg import XDG_DATA_HOME
++from xdg_base_dirs import xdg_data_home
+from tatoebatools import ParallelCorpus, tatoeba
-+tatoeba.dir = XDG_DATA_HOME / "tatoebatools"
++tatoeba.dir = xdg_data_home() / "tatoebatools"
+@click.command(short_help="Parallel corpus")
+@click.argument('source_language')
diff --git a/pkgs/linguistics/tatoebatools/default.nix b/pkgs/linguistics/tatoebatools/default.nix
index 747c73f2f24a3d35e0c02ef86a3010a58a1d2609..dbb06f160915ec1d9e87ea7fd23d4d33bbd7437a 100644
--- a/pkgs/linguistics/tatoebatools/default.nix
+++ b/pkgs/linguistics/tatoebatools/default.nix
@@ -17,7 +17,7 @@
postPatch = "sed -i 's/==."/"/;s/>=."/"/' setup.py";
propagatedBuildInputs = with python3Packages; [ beautifulsoup4 pandas requests sqlalchemy setuptools tqdm ]
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
application/octet-stream
This content has been proxied by September (3851b).