1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 10:56:56 +00:00
nixpkgs/pkgs/development/python-modules/oslo-config/default.nix

23 lines
526 B
Nix
Raw Normal View History

2017-06-18 10:47:42 +01:00
{ buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock }:
buildPythonPackage rec {
pname = "oslo.config";
version = "2.5.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "043mavrzj7vjn7kh1dddci4sf67qwqnnn6cm0k1d19alks9hismz";
};
propagatedBuildInputs = [ pbr six netaddr stevedore ];
buildInputs = [ mock ];
# TODO: circular import on oslo-i18n
doCheck = false;
postPatch = ''
substituteInPlace requirements.txt --replace "argparse"
'';
}