nixpkgs/pkgs/development/python-modules/oslo-config/default.nix
Frederik Rietdijk 67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00

26 lines
602 B
Nix

{ buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock }:
buildPythonPackage rec {
pname = "oslo.config";
version = "4.11.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1be8aaba466a3449fdb21ee8f7025b0d3d252c8c7568b8d5d05ceff58617cd05";
};
propagatedBuildInputs = [ pbr six netaddr stevedore ];
buildInputs = [ mock ];
# TODO: circular import on oslo-i18n
doCheck = false;
postPatch = ''
substituteInPlace requirements.txt --replace "argparse" ""
'';
# Requires a bunch of new packages
meta.broken = true;
}