Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, certifi, circuitbreaker, cryptography, fetchFromGitHub, pyopenssl, python-dateutil, pythonOlder, pytz, setuptools,}:
buildPythonPackage rec { pname = "oci"; version = "2.128.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "oracle"; repo = "oci-python-sdk"; rev = "refs/tags/v${version}"; hash = "sha256-AT4jE4apkZ0uK1Z03nVnMN9CS5uiMwPNsarq7pY+Pnw="; };
pythonRelaxDeps = [ "cryptography" "pyOpenSSL" ];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ certifi circuitbreaker cryptography pyopenssl python-dateutil pytz ];
# Tests fail: https://github.com/oracle/oci-python-sdk/issues/164 doCheck = false;
pythonImportsCheck = [ "oci" ];
meta = with lib; { description = "Oracle Cloud Infrastructure Python SDK"; homepage = "https://github.com/oracle/oci-python-sdk"; changelog = "https://github.com/oracle/oci-python-sdk/blob/v${version}/CHANGELOG.rst"; license = with licenses; [ asl20 # or upl ]; maintainers = with maintainers; [ ilian ]; };}