2017-06-18 11:47:42 +02:00
|
|
|
{ buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "oslo.config";
|
2017-08-24 19:34:20 +02:00
|
|
|
version = "4.11.0";
|
2017-06-18 11:47:42 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-08-24 19:34:20 +02:00
|
|
|
sha256 = "1be8aaba466a3449fdb21ee8f7025b0d3d252c8c7568b8d5d05ceff58617cd05";
|
2017-06-18 11:47:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pbr six netaddr stevedore ];
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
|
|
|
# TODO: circular import on oslo-i18n
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postPatch = ''
|
2017-08-11 00:02:48 +02:00
|
|
|
substituteInPlace requirements.txt --replace "argparse" ""
|
2017-06-18 11:47:42 +02:00
|
|
|
'';
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
# Requires a bunch of new packages
|
|
|
|
meta.broken = true;
|
2017-06-18 11:47:42 +02:00
|
|
|
}
|