Skip to content

Commit

Permalink
rpkg: 1.14 -> 1.50
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Leathers committed Sep 16, 2017
1 parent e544c36 commit c29a721
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 27 deletions.
11 changes: 0 additions & 11 deletions pkgs/development/python-modules/rpkg-buildfix.diff

This file was deleted.

28 changes: 28 additions & 0 deletions pkgs/development/python-modules/rpkg/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, buildPythonPackage, isPy3k, fetchurl, six, pycurl, cccolutils
, koji, rpmfluff }:

buildPythonPackage rec {
pname = "rpkg";
version = "1.50";
name = "${pname}-${version}";

disabled = isPy3k;

src = fetchurl {
url = "https://releases.pagure.org/rpkg/${name}.tar.gz";
sha256 = "0j83bnm9snr3m1mabw2cvd2r7d6kcnkzyz7b9p65fhcc3c7s3rvv";
};


propagatedBuildInputs = [ pycurl koji cccolutils six rpmfluff ];

doCheck = false; # needs /var/lib/rpm database to run tests

meta = with stdenv.lib; {
description = "Python library for dealing with rpm packaging";
homepage = https://pagure.io/fedpkg;
license = licenses.gpl2plus;
maintainers = with maintainers; [ mornfall ];
};

}
17 changes: 1 addition & 16 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19381,22 +19381,7 @@ in {
};
};

rpkg = buildPythonPackage (rec {
name = "rpkg-1.14";
disabled = !isPy27; # error: invalid command 'bdist_wheel'
meta.maintainers = with maintainers; [ mornfall ];

src = pkgs.fetchurl {
url = "https://fedorahosted.org/releases/r/p/rpkg/rpkg-1.14.tar.gz";
sha256 = "0d053hdjz87aym1sfm6c4cxmzmy5g0gkrmrczly86skj957r77a7";
};

patches = [ ../development/python-modules/rpkg-buildfix.diff ];

propagatedBuildInputs = with self; [ pycurl koji GitPython pkgs.git
rpm pyopenssl ];

});
rpkg = callPackage ../development/python-modules/rpkg/default.nix {};

rply = buildPythonPackage rec {
name = "rply-${version}";
Expand Down

0 comments on commit c29a721

Please sign in to comment.