nixpkgs/pkgs/development/python-modules/rpkg/default.nix
Bjørn Forsman f557aa49fb Fix eval
$ nix-env -f . -qa '*' --meta --xml --drv-path --show-trace
error: while querying the derivation named ‘python2.7-rpkg-1.50’:
attribute ‘gpl2plus’ missing, at .../pkgs/development/python-modules/rpkg/default.nix:24:15

Introduced by commit c29a721350
("rpkg: 1.14 -> 1.50").
2017-09-17 09:41:28 +02:00

29 lines
726 B
Nix

{ 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 ];
};
}