2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, isPy3k, fetchurl, six, pycurl, cccolutils
|
2017-09-16 05:03:03 +01:00
|
|
|
, koji, rpmfluff }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rpkg";
|
|
|
|
version = "1.50";
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://releases.pagure.org/rpkg/${pname}-${version}.tar.gz";
|
2017-09-16 05:03:03 +01:00
|
|
|
sha256 = "0j83bnm9snr3m1mabw2cvd2r7d6kcnkzyz7b9p65fhcc3c7s3rvv";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pycurl koji cccolutils six rpmfluff ];
|
|
|
|
|
|
|
|
doCheck = false; # needs /var/lib/rpm database to run tests
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-16 05:03:03 +01:00
|
|
|
description = "Python library for dealing with rpm packaging";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pagure.io/fedpkg";
|
2017-09-17 08:40:37 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2018-01-17 05:13:23 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-09-16 05:03:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|