xonsh: Don't use fetchurl on dynamically generated GitHub tarballs
Just use fetchFromGitHub instead.
This commit is contained in:
parent
5fbd08968b
commit
5c08963fed
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, python3Packages}:
|
{stdenv, fetchFromGitHub, python3Packages}:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
name = "xonsh-${version}";
|
name = "xonsh-${version}";
|
||||||
@ -16,9 +16,11 @@ python3Packages.buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ python3Packages.ply ];
|
propagatedBuildInputs = [ python3Packages.ply ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/scopatz/xonsh/archive/${version}.zip";
|
owner = "scopatz";
|
||||||
sha256 = "0p2d7p892w77ii8yy51vpw7jlz2y53k8g61m7l8bar3hr3qrl306";
|
repo = "xonsh";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "04qnjqpz5y38g22irpph13j2a4hy7mk9pqvqz1mfimaf8zgmyh1n";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user