diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-12-01 17:09:05 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2018-12-01 17:17:55 -0500 |
commit | 2256273c6b453f626e7f4fd1317b9b332b45db6a (patch) | |
tree | 7e8fbb360b02c76a21206c99d3e1cf825578cae6 /pkgs/development/tools/fedpkg | |
parent | c220fe8e88b0869e2686de035f02585238e02228 (diff) |
fedpkg: add fedora_cert as dependency
[1: 1b9fd365819] Removed fedora_cert from nixpkgs, but fedpkg 1.29 still
it required at runtime.
1: 1b9fd36581951b8a8c51e6e1cc792c1589135717
fedora_cert: remove package
Diffstat (limited to 'pkgs/development/tools/fedpkg')
-rw-r--r-- | pkgs/development/tools/fedpkg/default.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/pkgs/development/tools/fedpkg/default.nix b/pkgs/development/tools/fedpkg/default.nix index 7c82dc9d32aa..5548b20de83c 100644 --- a/pkgs/development/tools/fedpkg/default.nix +++ b/pkgs/development/tools/fedpkg/default.nix @@ -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"; |