python.pkgs.koji: fix build

This commit is contained in:
Frederik Rietdijk 2017-09-06 17:03:47 +02:00
parent 785d7f2349
commit c7299ea37b

View File

@ -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 = ''