nixpkgs/pkgs/development/tools/fedpkg/default.nix

25 lines
729 B
Nix
Raw Normal View History

2018-12-01 15:59:34 +00:00
{ stdenv, buildPythonApplication, isPy3k, fetchurl, rpkg, offtrac, urlgrabber }:
2017-09-16 03:01:41 +00:00
2018-12-01 15:59:34 +00:00
buildPythonApplication rec {
2017-09-16 03:01:41 +00: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 03:01:41 +00:00
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
};
2018-11-28 12:55:49 +00:00
patches = [ ./fix-paths.patch ];
2017-09-16 03:01:41 +00:00
propagatedBuildInputs = [ rpkg offtrac urlgrabber ];
doCheck = false; # requires fedora_cert which isn't used anymore
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; [ ];
2017-09-16 03:01:41 +00:00
};
}