about summary refs log tree commit diff
path: root/pkgs/shells/xonsh
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-08-26 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2020-08-26 04:20:00 +0000
commit4d57351aed3a71eb3412e5993f97cdbf6b020c64 (patch)
tree6a81c367a6e8e68fe5dd98fe1618d9915da85593 /pkgs/shells/xonsh
parent250735e07efcf240c083928af3b227bffccf8de3 (diff)
xonsh: 0.9.19 -> 0.9.20
https://github.com/xonsh/xonsh/releases/tag/0.9.20
Diffstat (limited to 'pkgs/shells/xonsh')
-rw-r--r--pkgs/shells/xonsh/default.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/shells/xonsh/default.nix b/pkgs/shells/xonsh/default.nix
index 5d6a8a6065bb8..f73ec422e06bc 100644
--- a/pkgs/shells/xonsh/default.nix
+++ b/pkgs/shells/xonsh/default.nix
@@ -4,21 +4,31 @@
 , glibcLocales
 , coreutils
 , git
+, fetchpatch
 }:
 
 python3Packages.buildPythonApplication rec {
   pname = "xonsh";
-  version = "0.9.19";
+  version = "0.9.20";
 
   # fetch from github because the pypi package ships incomplete tests
   src = fetchFromGitHub {
     owner  = "xonsh";
     repo   = "xonsh";
     rev    = version;
-    sha256 = "1s7nb23zh4may4k3c9yfiizfdflm97hf5q2aww4j6ibykgcydv64";
+    sha256 = "05phrwqd1c64531y78zxkxd4w1cli8yj3x2cqch7nkzbyz93608p";
   };
 
   LC_ALL = "en_US.UTF-8";
+
+  patches = [
+    # Fix vox tests. Remove with the next release
+    (fetchpatch {
+      url = "https://github.com/xonsh/xonsh/commit/00aeb7645af97134495cc6bc5fe2f41922df8676.patch";
+      sha256 = "0hx5jk22wxgmjzmqbxr2pjs3mwh7p0jwld0xhslc1s6whbjml25h";
+    })
+  ];
+
   postPatch = ''
     sed -ie "s|/bin/ls|${coreutils}/bin/ls|" tests/test_execer.py
     sed -ie "s|SHELL=xonsh|SHELL=$out/bin/xonsh|" tests/test_integrations.py