2017-03-21 12:01:17 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pycurl }:
|
2014-08-30 20:08:49 +01:00
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "koji";
|
|
|
|
version = "1.8";
|
|
|
|
name = "${pname}-${version}";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2014-08-30 20:08:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://fedorahosted.org/released/koji/koji-1.8.0.tar.bz2";
|
|
|
|
sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1";
|
|
|
|
};
|
|
|
|
|
2016-12-01 15:36:38 +00:00
|
|
|
propagatedBuildInputs = [ pycurl ];
|
2014-08-30 20:08:49 +01:00
|
|
|
|
|
|
|
makeFlags = "DESTDIR=$(out)";
|
|
|
|
|
|
|
|
postInstall = ''
|
2016-12-01 15:36:38 +00:00
|
|
|
mv $out/usr/* $out/
|
2014-08-30 20:08:49 +01:00
|
|
|
cp -R $out/nix/store/*/* $out/
|
|
|
|
rm -rf $out/nix
|
|
|
|
'';
|
|
|
|
|
2016-08-02 16:34:11 +01:00
|
|
|
meta = {
|
|
|
|
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2014-08-30 20:08:49 +01:00
|
|
|
}
|