summary refs log tree commit diff
path: root/pkgs/development/python-modules/rpkg/default.nix
blob: 731a5738e73ecdced645d5ca2b09a527482bacd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, 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 lib; {
    description = "Python library for dealing with rpm packaging";
    homepage = "https://pagure.io/fedpkg";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ ];
  };

}