13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
41 lines
758 B
Nix
41 lines
758 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, fsspec
|
|
, oci
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ocifs";
|
|
version = "1.1.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oracle";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-4Yf6f89btzLij0OxGYRrnRpYCs8edDcwJPFbPZUfx9w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fsspec
|
|
oci
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"ocifs"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Oracle Cloud Infrastructure Object Storage fsspec implementation";
|
|
homepage = "https://ocifs.readthedocs.io";
|
|
license = with licenses; [ upl ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|