summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorStephan Heßelmann <shesselm@redhat.com>2022-07-23 17:03:58 +0200
committerStephan Heßelmann <shesselm@redhat.com>2022-07-23 20:28:33 +0200
commit09c3e368e99e13c8fb773475e5f8a9577276c2a9 (patch)
treefb6000dbed957bc78f4054e312feab1c1956aa6b /pkgs/shells
parentc37fedee50e8ba01c726b17d40b32d0533472a62 (diff)
xonsh: 0.11.0 -> 0.13.0
Fixes #182544
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/xonsh/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/shells/xonsh/default.nix b/pkgs/shells/xonsh/default.nix
index 4fa5d9b087be..ed11f0828d66 100644
--- a/pkgs/shells/xonsh/default.nix
+++ b/pkgs/shells/xonsh/default.nix
@@ -8,14 +8,14 @@
python3Packages.buildPythonApplication rec {
pname = "xonsh";
- version = "0.11.0";
+ version = "0.13.0";
# fetch from github because the pypi package ships incomplete tests
src = fetchFromGitHub {
owner = "xonsh";
repo = "xonsh";
rev = version;
- sha256 = "sha256-jfxQMEVABTOhx679V0iGVX9RisuY42lSdztYXMLwdcw=";
+ sha256 = "sha256-8X/+mQrwJ0yaUHRKdoY3G0P8kq22hYfRK+7WRl/zamc=";
};
LC_ALL = "en_US.UTF-8";
@@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
];
postInstall = ''
- wrapProgram $out/bin/xon.sh \
+ wrapProgram $out/bin/xonsh \
$makeWrapperArgs
'';
@@ -49,6 +49,8 @@ python3Packages.buildPythonApplication rec {
"test_colorize_file"
"test_loading_correctly"
"test_no_command_path_completion"
+ "test_bsd_man_page_completions"
+ "test_xonsh_activator"
# fails on non-interactive shells
"test_capture_always"
"test_casting"
@@ -56,9 +58,14 @@ python3Packages.buildPythonApplication rec {
"test_dirty_working_directory"
"test_man_completion"
"test_vc_get_branch"
+ "test_bash_and_is_alias_is_only_functional_alias"
];
disabledTestPaths = [
+ # fails on sandbox
+ "tests/completers/test_command_completers.py"
+ "tests/test_ptk_highlight.py"
+ "tests/test_ptk_shell.py"
# fails on non-interactive shells
"tests/prompt/test_gitstatus.py"
"tests/completers/test_bash_completer.py"