at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 certifi, 5 circuitbreaker, 6 cryptography, 7 fetchFromGitHub, 8 pyopenssl, 9 python-dateutil, 10 pytz, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "oci"; 16 version = "2.160.2"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "oracle"; 21 repo = "oci-python-sdk"; 22 tag = "v${version}"; 23 hash = "sha256-+O3C6We3Awg8zsrfGXhMyLRxnKdRKxFiR72uDSe1WTM="; 24 }; 25 26 pythonRelaxDeps = [ 27 "cryptography" 28 "pyOpenSSL" 29 ]; 30 31 build-system = [ setuptools ]; 32 33 dependencies = [ 34 certifi 35 circuitbreaker 36 cryptography 37 pyopenssl 38 python-dateutil 39 pytz 40 ]; 41 42 # Tests fail: https://github.com/oracle/oci-python-sdk/issues/164 43 doCheck = false; 44 45 pythonImportsCheck = [ "oci" ]; 46 47 meta = { 48 description = "Oracle Cloud Infrastructure Python SDK"; 49 homepage = "https://github.com/oracle/oci-python-sdk"; 50 changelog = "https://github.com/oracle/oci-python-sdk/blob/${src.tag}/CHANGELOG.rst"; 51 license = with lib.licenses; [ 52 asl20 # or 53 upl 54 ]; 55 maintainers = with lib.maintainers; [ 56 ilian 57 ]; 58 }; 59}