Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchPypi, fixtures, jsonschema, openstacksdk, oslotest, pbr, python-glanceclient, setuptools, stestr, subunit, testscenarios, testtools,}:
buildPythonPackage rec { pname = "os-client-config"; version = "2.3.0"; pyproject = true;
src = fetchPypi { pname = "os_client_config"; inherit version; hash = "sha256-4WomDy/VAK8U8Ve5t7fWkpLOg7D4pGHsaM5qikKWfL0="; };
build-system = [ pbr setuptools ];
dependencies = [ openstacksdk pbr python-glanceclient ];
nativeCheckInputs = [ fixtures jsonschema subunit oslotest stestr testscenarios testtools ];
checkPhase = '' runHook preCheck
stestr run
runHook postCheck '';
pythonImportsCheck = [ "os_client_config" ];
meta = with lib; { description = "Unified config handling for client libraries and programs"; homepage = "https://github.com/openstack/os-client-config"; license = licenses.asl20; teams = [ teams.openstack ]; };}