Files
nixpkgs/pkgs/development/python-modules/oci/default.nix
2025-06-10 14:52:25 +00:00

60 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
certifi,
circuitbreaker,
cryptography,
fetchFromGitHub,
pyopenssl,
python-dateutil,
pytz,
setuptools,
}:
buildPythonPackage rec {
pname = "oci";
version = "2.154.1";
pyproject = true;
src = fetchFromGitHub {
owner = "oracle";
repo = "oci-python-sdk";
tag = "v${version}";
hash = "sha256-jkB7P0T12ybSqR73Z2wcBcGCep7eFlX5MYNX4E2qnMY=";
};
pythonRelaxDeps = [
"cryptography"
"pyOpenSSL"
];
build-system = [ setuptools ];
dependencies = [
certifi
circuitbreaker
cryptography
pyopenssl
python-dateutil
pytz
];
# Tests fail: https://github.com/oracle/oci-python-sdk/issues/164
doCheck = false;
pythonImportsCheck = [ "oci" ];
meta = {
description = "Oracle Cloud Infrastructure Python SDK";
homepage = "https://github.com/oracle/oci-python-sdk";
changelog = "https://github.com/oracle/oci-python-sdk/blob/${src.tag}/CHANGELOG.rst";
license = with lib.licenses; [
asl20 # or
upl
];
maintainers = with lib.maintainers; [
ilian
];
};
}