Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 60 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, certifi, circuitbreaker, cryptography, fetchFromGitHub, pyopenssl, python-dateutil, pythonOlder, pythonRelaxDepsHook, pytz}:
buildPythonPackage rec { pname = "oci"; version = "2.100.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "oracle"; repo = "oci-python-sdk"; rev = "refs/tags/v${version}"; hash = "sha256-hzuuYRf9D0nWSyAPC66umDD2fKYZ+khHd6281UW6u9M="; };
pythonRelaxDeps = [ "cryptography" "pyOpenSSL" ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
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 ]; };}