504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
47 lines
888 B
Nix
47 lines
888 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, flit-core
|
|
, fsspec
|
|
, oci
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ocifs";
|
|
version = "1.3.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oracle";
|
|
repo = "ocifs";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-IGl9G4NyzhcqrfYfgeZin+wt1OwHmh6780MPfZBwsXA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit-core
|
|
];
|
|
|
|
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";
|
|
changelog = "https://github.com/oracle/ocifs/releases/tag/v${version}";
|
|
license = with licenses; [ upl ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|