Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 62 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchPypi, debtcollector, netaddr, oslo-i18n, pbr, pyyaml, requests, rfc3986, setuptools, stevedore, callPackage,}:
buildPythonPackage rec { pname = "oslo-config"; version = "9.6.0"; pyproject = true;
src = fetchPypi { pname = "oslo.config"; inherit version; hash = "sha256-nwXvcOSNmmGo0Mm+04naJPLvWonfW26N63x0HWETZn4="; };
postPatch = '' # only a small portion of the listed packages are actually needed for running the tests # so instead of removing them one by one remove everything rm test-requirements.txt '';
build-system = [ setuptools ];
dependencies = [ debtcollector netaddr oslo-i18n pbr pyyaml requests rfc3986 stevedore ];
# check in passthru.tests.pytest to escape infinite recursion with other oslo components doCheck = false;
passthru.tests = { tests = callPackage ./tests.nix { }; };
pythonImportsCheck = [ "oslo_config" ];
meta = with lib; { description = "Oslo Configuration API"; homepage = "https://github.com/openstack/oslo.config"; license = licenses.asl20; maintainers = teams.openstack.members; };}