mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
696 B
Nix
28 lines
696 B
Nix
{ stdenv, buildPythonPackage, isPy3k, fetchurl, six, pycurl, cccolutils
|
|
, koji, rpmfluff }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rpkg";
|
|
version = "1.50";
|
|
|
|
disabled = isPy3k;
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.pagure.org/rpkg/${pname}-${version}.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; [ ];
|
|
};
|
|
|
|
}
|