git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #96516 from marsam/update-xonsh

xonsh: 0.9.19 -> 0.9.20

commitcf2314ff9a73bfa5c4df814418185ee7fb274067 authorMaximilian Bosch <maximilian@mbosch.me> dateSun 30 Aug 2020, 22:26 (6 years ago) parent6de4b964d57351
1 file changed+12−2
pkgs/shells/xonsh/default.nix+12−2
pkgs/shells/xonsh/default.nix+12−2
@@ -4,21 +4,31 @@
44, glibcLocales
55, coreutils
66, git
7+, fetchpatch
78}:
89
910python3Packages.buildPythonApplication rec {
1011 pname = "xonsh";
11− version = "0.9.19";
12+ version = "0.9.20";
1213
1314 # fetch from github because the pypi package ships incomplete tests
1415 src = fetchFromGitHub {
1516 owner = "xonsh";
1617 repo = "xonsh";
1718 rev = version;
18− sha256 = "1s7nb23zh4may4k3c9yfiizfdflm97hf5q2aww4j6ibykgcydv64";
19+ sha256 = "05phrwqd1c64531y78zxkxd4w1cli8yj3x2cqch7nkzbyz93608p";
1920 };
2021
2122 LC_ALL = "en_US.UTF-8";
23+
24+ patches = [
25+ # Fix vox tests. Remove with the next release
26+ (fetchpatch {
27+ url = "https://github.com/xonsh/xonsh/commit/00aeb7645af97134495cc6bc5fe2f41922df8676.patch";
28+ sha256 = "0hx5jk22wxgmjzmqbxr2pjs3mwh7p0jwld0xhslc1s6whbjml25h";
29+ })
30+ ];
31+
2232 postPatch = ''
2333 sed -ie "s|/bin/ls|${coreutils}/bin/ls|" tests/test_execer.py
2434 sed -ie "s|SHELL=xonsh|SHELL=$out/bin/xonsh|" tests/test_integrations.py