1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, fsspec
5, oci
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "ocifs";
11 version = "1.1.4";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchFromGitHub {
17 owner = "oracle";
18 repo = pname;
19 rev = "refs/tags/${version}";
20 hash = "sha256-zZREWEFWQj4G2RyEMH0X3oPr5Yu5/96UX6nm9HDmJCY=";
21 };
22
23 propagatedBuildInputs = [
24 fsspec
25 oci
26 ];
27
28 # Module has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "ocifs"
33 ];
34
35 meta = with lib; {
36 description = "Oracle Cloud Infrastructure Object Storage fsspec implementation";
37 homepage = "https://ocifs.readthedocs.io";
38 license = with licenses; [ upl ];
39 maintainers = with maintainers; [ fab ];
40 };
41}