Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
certifi,
|
|
circuitbreaker,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
pyopenssl,
|
|
python-dateutil,
|
|
pytz,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oci";
|
|
version = "2.160.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oracle";
|
|
repo = "oci-python-sdk";
|
|
tag = "v${version}";
|
|
hash = "sha256-Nz3/aGumNTMItE/HL5tAdh0QbZngeO02CfJKq4GZ+qY=";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|