From c15e6fd3fd9f3222f4a8c300bd997671f5a77bed Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 29 Jun 2018 23:20:08 +0200 Subject: [PATCH] python/twisted: Fix fetching source In ced21f5e1a1479e3b6ae5c218818790596f5a16f, 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 Cc: @FRidh --- pkgs/development/python-modules/twisted/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index 6d72e234ddc..14ccac5690b 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -17,6 +17,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; + extension = "tar.bz2"; sha256 = "a4cc164a781859c74de47f17f0e85f4bce8a3321a9d0892c015c8f80c4158ad9"; };