fedpkg: add fedora_cert as dependency

[1: 1b9fd36581] Removed fedora_cert from nixpkgs, but fedpkg 1.29 still
it required at runtime.

1: 1b9fd36581
   fedora_cert: remove package
This commit is contained in:
Mario Rodas 2018-12-01 17:09:05 -05:00
parent c220fe8e88
commit 2256273c6b
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -1,6 +1,19 @@
{ stdenv, buildPythonApplication, isPy3k, fetchurl, rpkg, offtrac, urlgrabber }:
{ stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }:
buildPythonApplication rec {
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 {
pname = "fedpkg";
version = "1.29";
@ -11,9 +24,7 @@ buildPythonApplication rec {
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
};
patches = [ ./fix-paths.patch ];
propagatedBuildInputs = [ rpkg offtrac urlgrabber ];
doCheck = false; # requires fedora_cert which isn't used anymore
propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ];
meta = with stdenv.lib; {
description = "Subclass of the rpkg project for dealing with rpm packaging";