python_fedora: 0.5.5 -> 0.9.0

This commit is contained in:
Samuel Leathers 2017-09-15 22:44:14 -04:00
parent 5f6a20f291
commit 3693aa6141
2 changed files with 24 additions and 18 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, kitchen, requests, bunch, paver
, six, munch, urllib3, beautifulsoup4, openidc-client, lockfile }:
buildPythonPackage rec {
pname = "python-fedora";
version = "0.9.0";
name = "python-fedora-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0sf468scw52sw9pzxrnmqs54rix9c4fp1mi2r5k5n7mgjrmf6j0x";
};
propagatedBuildInputs = [ kitchen requests bunch paver lockfile
six munch urllib3 beautifulsoup4 openidc-client ];
doCheck = false;
meta = with stdenv.lib; {
description = "Python Fedora Module";
homepage = https://github.com/fedora-infra/python-fedora;
license = licenses.lgpl2;
maintainers = with maintainers; [ mornfall ];
};
}

View File

@ -17695,24 +17695,7 @@ in {
};
};
python_fedora = buildPythonPackage (rec {
version = "0.5.5";
name = "python-fedora-${version}";
meta.maintainers = with maintainers; [ mornfall ];
src = pkgs.fetchurl {
url = "mirror://pypi/p/python-fedora/${name}.tar.gz";
sha256 = "15m8lvbb5q4rg508i4ah8my872qrq5xjwgcgca4d3kzjv2x6fhim";
};
propagatedBuildInputs = with self; [ kitchen requests bunch paver six munch urllib3
beautifulsoup4 ];
doCheck = false;
# https://github.com/fedora-infra/python-fedora/issues/140
preBuild = ''
sed -i '4,15d' setup.py
'';
});
python_fedora = callPackage ../development/python-modules/python_fedora/default.nix {};
python-simple-hipchat = callPackage ../development/python-modules/python-simple-hipchat {};
python_simple_hipchat = self.python-simple-hipchat;