2017-09-16 03:39:16 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pycurl, six, rpm, dateutil }:
|
2014-08-30 19:08:49 +00:00
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "koji";
|
2017-09-16 03:39:16 +00:00
|
|
|
version = "1.13.0";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2014-08-30 19:08:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-23 13:27:58 +00:00
|
|
|
url = "https://releases.pagure.org/koji/${pname}-${version}.tar.bz2";
|
2017-09-16 03:39:16 +00:00
|
|
|
sha256 = "18b18rcbdqqw33g7h20hf5bpbci2ixdi05yda1fvpv30c1kkzd8w";
|
2014-08-30 19:08:49 +00:00
|
|
|
};
|
|
|
|
|
2017-09-16 03:39:16 +00:00
|
|
|
propagatedBuildInputs = [ pycurl six rpm dateutil ];
|
2014-08-30 19:08:49 +00:00
|
|
|
|
2017-09-06 15:03:47 +00:00
|
|
|
# Judging from SyntaxError
|
2017-09-16 03:39:16 +00:00
|
|
|
#disabled = isPy3k;
|
2017-09-06 15:03:47 +00:00
|
|
|
|
2014-08-30 19:08:49 +00:00
|
|
|
makeFlags = "DESTDIR=$(out)";
|
|
|
|
|
|
|
|
postInstall = ''
|
2016-12-01 15:36:38 +00:00
|
|
|
mv $out/usr/* $out/
|
2014-08-30 19:08:49 +00:00
|
|
|
cp -R $out/nix/store/*/* $out/
|
|
|
|
rm -rf $out/nix
|
|
|
|
'';
|
|
|
|
|
2016-08-02 15:34:11 +00:00
|
|
|
meta = {
|
2018-01-17 05:13:23 +00:00
|
|
|
maintainers = [ ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-08-02 15:34:11 +00:00
|
|
|
};
|
2014-08-30 19:08:49 +00:00
|
|
|
}
|