python.pkgs.koji: fix build
This commit is contained in:
parent
785d7f2349
commit
c7299ea37b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, buildPythonPackage, pycurl }:
|
{ stdenv, fetchurl, buildPythonPackage, pycurl, isPy3k }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "koji";
|
pname = "koji";
|
||||||
@ -7,12 +7,15 @@ buildPythonPackage rec {
|
|||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://fedorahosted.org/released/koji/koji-1.8.0.tar.bz2";
|
url = "https://github.com/koji-project/koji/archive/koji-1.8.0.tar.gz";
|
||||||
sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1";
|
sha256 = "17rkipdxccdccbbb70f9wx91cq9713psmq23j7lgb4mlnwan926h";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pycurl ];
|
propagatedBuildInputs = [ pycurl ];
|
||||||
|
|
||||||
|
# Judging from SyntaxError
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
makeFlags = "DESTDIR=$(out)";
|
makeFlags = "DESTDIR=$(out)";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user