@@ -1,8 +1,8 @@
1−{stdenv, fetchFromGitHub, python3Packages}:
1+{stdenv, fetchurl, python3Packages}:
22
33python3Packages.buildPythonApplication rec {
44 name = "xonsh-${version}";
5− version = "0.1.3";
5+ version = "0.2.7";
66
77 # The logo xonsh prints during build contains unicode characters, and this
88 # fails because locales have not been set up in the build environment.
@@ -16,11 +16,9 @@ python3Packages.buildPythonApplication rec {
1616
1717 propagatedBuildInputs = [ python3Packages.ply ];
1818
19− src = fetchFromGitHub {
20− owner = "scopatz";
21− repo = "xonsh";
22− rev = version;
23− sha256 = "04qnjqpz5y38g22irpph13j2a4hy7mk9pqvqz1mfimaf8zgmyh1n";
19+ src = fetchurl {
20+ url = "mirror://pypi/x/xonsh/${name}.tar.gz";
21+ sha256= "10pglgmzj6l0l8mb3r2rxnbigqigcqn9njcgdcrg7s1b409cq4md";
2422 };
2523
2624 meta = with stdenv.lib; {