From c7299ea37b13192808f265524b127f7139c56277 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 6 Sep 2017 17:03:47 +0200 Subject: [PATCH] python.pkgs.koji: fix build --- pkgs/development/python-modules/koji/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/koji/default.nix b/pkgs/development/python-modules/koji/default.nix index d43e56781a7b..5c14fa05af67 100644 --- a/pkgs/development/python-modules/koji/default.nix +++ b/pkgs/development/python-modules/koji/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, buildPythonPackage, pycurl }: +{ stdenv, fetchurl, buildPythonPackage, pycurl, isPy3k }: buildPythonPackage rec { pname = "koji"; @@ -7,12 +7,15 @@ buildPythonPackage rec { format = "other"; src = fetchurl { - url = "https://fedorahosted.org/released/koji/koji-1.8.0.tar.bz2"; - sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1"; + url = "https://github.com/koji-project/koji/archive/koji-1.8.0.tar.gz"; + sha256 = "17rkipdxccdccbbb70f9wx91cq9713psmq23j7lgb4mlnwan926h"; }; propagatedBuildInputs = [ pycurl ]; + # Judging from SyntaxError + disabled = isPy3k; + makeFlags = "DESTDIR=$(out)"; postInstall = ''