mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
fc14705f97
Diff: https://github.com/oracle/oci-python-sdk/compare/refs/tags/v2.92.0...v2.93.0 Changelog: https://github.com/oracle/oci-python-sdk/blob/v2.93.0/CHANGELOG.rst
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, certifi
|
|
, circuitbreaker
|
|
, cryptography
|
|
, fetchFromGitHub
|
|
, pyopenssl
|
|
, python-dateutil
|
|
, pythonOlder
|
|
, pythonRelaxDepsHook
|
|
, pytz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oci";
|
|
version = "2.93.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oracle";
|
|
repo = "oci-python-sdk";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-yH9SCrTASP+O9VLVs6tliteCOWi+Pc7nDOgiboHQE4s=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|