From 5009d53d9a70b8c2105286bfd008b5cdd554b661 Mon Sep 17 00:00:00 2001 From: Ricardo Ardissone Date: Wed, 11 May 2016 13:19:58 -0300 Subject: [PATCH] xonsh: 0.1.3 -> 0.2.7 --- pkgs/shells/xonsh/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/shells/xonsh/default.nix b/pkgs/shells/xonsh/default.nix index 4aa65a7d8bde..5af78c27266f 100644 --- a/pkgs/shells/xonsh/default.nix +++ b/pkgs/shells/xonsh/default.nix @@ -1,8 +1,8 @@ -{stdenv, fetchFromGitHub, python3Packages}: +{stdenv, fetchurl, python3Packages}: python3Packages.buildPythonApplication rec { name = "xonsh-${version}"; - version = "0.1.3"; + version = "0.2.7"; # The logo xonsh prints during build contains unicode characters, and this # fails because locales have not been set up in the build environment. @@ -16,11 +16,9 @@ python3Packages.buildPythonApplication rec { propagatedBuildInputs = [ python3Packages.ply ]; - src = fetchFromGitHub { - owner = "scopatz"; - repo = "xonsh"; - rev = version; - sha256 = "04qnjqpz5y38g22irpph13j2a4hy7mk9pqvqz1mfimaf8zgmyh1n"; + src = fetchurl { + url = "mirror://pypi/x/xonsh/${name}.tar.gz"; + sha256= "10pglgmzj6l0l8mb3r2rxnbigqigcqn9njcgdcrg7s1b409cq4md"; }; meta = with stdenv.lib; {