Skip to content

Commit

Permalink
python/twisted: Fix fetching source
Browse files Browse the repository at this point in the history
In ced21f5, fetchurl has changed into
fetchPypi, but the upstream tarball is actually a tar.bz2 archive but by
default fetchPypi uses "tar.gz" as its extension.

The sha256 however is still the same.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @FRidh
  • Loading branch information
aszlig committed Jun 29, 2018
1 parent f009050 commit c15e6fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/python-modules/twisted/default.nix
Expand Up @@ -17,6 +17,7 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
extension = "tar.bz2";
sha256 = "a4cc164a781859c74de47f17f0e85f4bce8a3321a9d0892c015c8f80c4158ad9";
};

Expand Down

0 comments on commit c15e6fd

Please sign in to comment.