Loading pkgs/tools/text/frogmouth/default.nix +9 −2 Original line number Diff line number Diff line Loading @@ -15,6 +15,13 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-TMCeIwMEoNDQV9iue4XrdYQMmwofXDvdMMLTZKILQ9Q="; }; # 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 Loading @@ -24,13 +31,13 @@ python3.pkgs.buildPythonApplication rec { httpx textual typing-extensions xdg xdg-base-dirs ]; pythonRelaxDeps = [ "httpx" "textual" "xdg" "xdg-base-dirs" ]; pythonImportsCheck = [ "frogmouth" ]; Loading Loading
pkgs/tools/text/frogmouth/default.nix +9 −2 Original line number Diff line number Diff line Loading @@ -15,6 +15,13 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-TMCeIwMEoNDQV9iue4XrdYQMmwofXDvdMMLTZKILQ9Q="; }; # 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 Loading @@ -24,13 +31,13 @@ python3.pkgs.buildPythonApplication rec { httpx textual typing-extensions xdg xdg-base-dirs ]; pythonRelaxDeps = [ "httpx" "textual" "xdg" "xdg-base-dirs" ]; pythonImportsCheck = [ "frogmouth" ]; Loading