1{ stdenv, buildPythonPackage, isPy3k, fetchurl, six, pycurl, cccolutils
2, koji, rpmfluff }:
3
4buildPythonPackage rec {
5 pname = "rpkg";
6 version = "1.50";
7
8 disabled = isPy3k;
9
10 src = fetchurl {
11 url = "https://releases.pagure.org/rpkg/${pname}-${version}.tar.gz";
12 sha256 = "0j83bnm9snr3m1mabw2cvd2r7d6kcnkzyz7b9p65fhcc3c7s3rvv";
13 };
14
15
16 propagatedBuildInputs = [ pycurl koji cccolutils six rpmfluff ];
17
18 doCheck = false; # needs /var/lib/rpm database to run tests
19
20 meta = with stdenv.lib; {
21 description = "Python library for dealing with rpm packaging";
22 homepage = "https://pagure.io/fedpkg";
23 license = licenses.gpl2Plus;
24 maintainers = with maintainers; [ ];
25 };
26
27}