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:
parent
c220fe8e88
commit
2256273c6b
@ -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";
|
pname = "fedpkg";
|
||||||
version = "1.29";
|
version = "1.29";
|
||||||
|
|
||||||
@ -11,9 +24,7 @@ buildPythonApplication rec {
|
|||||||
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
|
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
|
||||||
};
|
};
|
||||||
patches = [ ./fix-paths.patch ];
|
patches = [ ./fix-paths.patch ];
|
||||||
propagatedBuildInputs = [ rpkg offtrac urlgrabber ];
|
propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ];
|
||||||
|
|
||||||
doCheck = false; # requires fedora_cert which isn't used anymore
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Subclass of the rpkg project for dealing with rpm packaging";
|
description = "Subclass of the rpkg project for dealing with rpm packaging";
|
||||||
|
Loading…
Reference in New Issue
Block a user