5aa4b19946
Refs: e6754980264fe927320d5ff2dbd24ca4fac9a160 1e9cc5b9844ef603fe160e9f671178f96200774f 793a2fe1e8bb886ca2096c5904e1193dc3268b6d c19cf65261639f749012454932a532aa7c681e4b f6544d618f30fae0bc4798c4387a8c7c9c047a7c
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }:
|
|
|
|
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";
|
|
|
|
disabled = isPy3k;
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.pagure.org/fedpkg/${pname}-${version}.tar.bz2";
|
|
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
|
|
};
|
|
patches = [ ./fix-paths.patch ];
|
|
propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Subclass of the rpkg project for dealing with rpm packaging";
|
|
homepage = https://pagure.io/fedpkg;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ ];
|
|
broken = true;
|
|
};
|
|
}
|