nixpkgs/pkgs/development/python-modules/koji/default.nix

31 lines
655 B
Nix
Raw Normal View History

2017-09-16 04:39:16 +01:00
{ stdenv, fetchurl, buildPythonPackage, pycurl, six, rpm, dateutil }:
buildPythonPackage rec {
pname = "koji";
2017-09-16 04:39:16 +01:00
version = "1.13.0";
format = "other";
src = fetchurl {
url = "https://releases.pagure.org/koji/${pname}-${version}.tar.bz2";
2017-09-16 04:39:16 +01:00
sha256 = "18b18rcbdqqw33g7h20hf5bpbci2ixdi05yda1fvpv30c1kkzd8w";
};
2017-09-16 04:39:16 +01:00
propagatedBuildInputs = [ pycurl six rpm dateutil ];
2017-09-06 16:03:47 +01:00
# Judging from SyntaxError
2017-09-16 04:39:16 +01:00
#disabled = isPy3k;
2017-09-06 16:03:47 +01:00
makeFlags = "DESTDIR=$(out)";
postInstall = ''
mv $out/usr/* $out/
cp -R $out/nix/store/*/* $out/
rm -rf $out/nix
'';
2016-08-02 16:34:11 +01:00
meta = {
maintainers = [ ];
platforms = stdenv.lib.platforms.unix;
2016-08-02 16:34:11 +01:00
};
}