Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 32 lines 833 B view raw
1{ lib, buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock, 2debtcollector, rfc3986, pyyaml, oslo-i18n }: 3 4buildPythonPackage rec { 5 pname = "oslo.config"; 6 version = "4.12.0"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1pa9lajsadyq47bmxx12dxlcmnqsqlgnb55hwqas26lgnb2073dx"; 12 }; 13 14 propagatedBuildInputs = [ pbr six netaddr stevedore debtcollector rfc3986 pyyaml oslo-i18n ]; 15 buildInputs = [ mock ]; 16 17 # TODO: circular import on oslo-i18n 18 doCheck = false; 19 20 postPatch = '' 21 substituteInPlace requirements.txt --replace "argparse" "" 22 ''; 23 24 meta = with lib; { 25 description = "Oslo Configuration API"; 26 homepage = "https://docs.openstack.org/oslo.config/latest/"; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ makefu ]; 29 }; 30 31 32}