diff options
author | Manuel Frischknecht <manuel.frischknecht@macd.com> | 2024-01-18 23:04:41 +0100 |
---|---|---|
committer | annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-02-10 04:54:29 +0000 |
commit | 386faef6e6d905abcbf9d4a85c92f60bbf5a61bb (patch) | |
tree | 2597edb7e48a9d40139936cc41d8f47d1a249133 | |
parent | 3df632c2fba47c5d477f498b02add5c7aa2126f3 (diff) | |
download | nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.tar nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.tar.gz nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.tar.bz2 nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.tar.lz nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.tar.xz nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.tar.zst nixlib-386faef6e6d905abcbf9d4a85c92f60bbf5a61bb.zip |
frogmouth: use same xdg package as upstream
-rw-r--r-- | pkgs/tools/text/frogmouth/default.nix | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pkgs/tools/text/frogmouth/default.nix b/pkgs/tools/text/frogmouth/default.nix index 9ec9134c661e..68d63dc7aa5f 100644 --- a/pkgs/tools/text/frogmouth/default.nix +++ b/pkgs/tools/text/frogmouth/default.nix @@ -15,13 +15,6 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-0fcCON/M9JklE7X9aRfzTkEFG4ckJqLoQlYCSrWHHGQ="; }; - # Per <https://github.com/srstevenson/xdg-base-dirs/tree/6.0.0#xdg-base-dirs>, the package is - # renamed from `xdg` to `xdg_base_dirs`, but upstream isn't amenable to performing that rename. - # See <https://github.com/Textualize/frogmouth/pull/59>. So this is a minimal fix. - postUnpack = '' - sed -i -e "s,from xdg import,from xdg_base_dirs import," $sourceRoot/frogmouth/data/{config,data_directory}.py - ''; - nativeBuildInputs = [ python3.pkgs.poetry-core python3.pkgs.pythonRelaxDepsHook @@ -31,13 +24,12 @@ python3.pkgs.buildPythonApplication rec { httpx textual typing-extensions - xdg-base-dirs + xdg ]; pythonRelaxDeps = [ "httpx" "textual" - "xdg-base-dirs" ]; pythonImportsCheck = [ "frogmouth" ]; |