Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 62 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fixtures, 6 hacking, 7 jsonschema, 8 openstacksdk, 9 oslotest, 10 python-glanceclient, 11 setuptools, 12 stestr, 13 subunit, 14 testscenarios, 15 testtools, 16}: 17 18buildPythonPackage rec { 19 pname = "os-client-config"; 20 version = "2.1.0"; 21 pyproject = true; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-q8OKNR+MAG009+5fP2SN5ePs9kVcxdds/YidKRzfP04="; 26 }; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 openstacksdk 32 python-glanceclient 33 ]; 34 35 nativeCheckInputs = [ 36 hacking 37 fixtures 38 jsonschema 39 subunit 40 oslotest 41 stestr 42 testscenarios 43 testtools 44 ]; 45 46 checkPhase = '' 47 runHook preCheck 48 49 stestr run 50 51 runHook postCheck 52 ''; 53 54 pythonImportsCheck = [ "os_client_config" ]; 55 56 meta = with lib; { 57 homepage = "https://opendev.org/openstack/os-client-config"; 58 description = "Collect client configuration for using OpenStack in consistent and comprehensive manner"; 59 license = licenses.asl20; 60 maintainers = teams.openstack.members; 61 }; 62}