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