···11-{stdenv, fetchFromGitHub, python3Packages}:
11+{stdenv, fetchurl, python3Packages}:
2233python3Packages.buildPythonApplication rec {
44 name = "xonsh-${version}";
55- version = "0.1.3";
55+ version = "0.2.7";
6677 # The logo xonsh prints during build contains unicode characters, and this
88 # fails because locales have not been set up in the build environment.
···16161717 propagatedBuildInputs = [ python3Packages.ply ];
18181919- src = fetchFromGitHub {
2020- owner = "scopatz";
2121- repo = "xonsh";
2222- rev = version;
2323- sha256 = "04qnjqpz5y38g22irpph13j2a4hy7mk9pqvqz1mfimaf8zgmyh1n";
1919+ src = fetchurl {
2020+ url = "mirror://pypi/x/xonsh/${name}.tar.gz";
2121+ sha256= "10pglgmzj6l0l8mb3r2rxnbigqigcqn9njcgdcrg7s1b409cq4md";
2422 };
25232624 meta = with stdenv.lib; {