2018-12-01 22:09:05 +00:00
|
|
|
{ stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }:
|
2017-09-16 04:01:41 +01:00
|
|
|
|
2018-12-01 22:09:05 +00:00
|
|
|
let
|
|
|
|
fedora_cert = buildPythonPackage rec {
|
|
|
|
name = "fedora-cert";
|
|
|
|
version = "0.6.0.2";
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://releases.pagure.org/fedora-packager/fedora-packager-${version}.tar.bz2";
|
|
|
|
sha256 = "02f22072wx1zg3rhyfw6gbxryzcbh66s92nb98mb9kdhxixv6p0z";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [ python_fedora pyopenssl ];
|
|
|
|
doCheck = false;
|
|
|
|
};
|
|
|
|
in buildPythonApplication rec {
|
2017-09-16 04:01:41 +01:00
|
|
|
pname = "fedpkg";
|
|
|
|
version = "1.29";
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-11-28 12:55:49 +00:00
|
|
|
url = "https://releases.pagure.org/fedpkg/${pname}-${version}.tar.bz2";
|
2017-09-16 04:01:41 +01:00
|
|
|
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
|
|
|
|
};
|
2018-11-28 12:55:49 +00:00
|
|
|
patches = [ ./fix-paths.patch ];
|
2018-12-01 22:09:05 +00:00
|
|
|
propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ];
|
2017-09-16 04:01:41 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Subclass of the rpkg project for dealing with rpm packaging";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pagure.io/fedpkg";
|
2017-09-16 04:01:41 +01:00
|
|
|
license = licenses.gpl2;
|
2018-01-17 05:13:23 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-10-07 16:20:23 +01:00
|
|
|
broken = true;
|
2017-09-16 04:01:41 +01:00
|
|
|
};
|
|
|
|
}
|