1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6 fsspec,
7 oci,
8 pythonOlder,
9 requests,
10}:
11
12buildPythonPackage rec {
13 pname = "ocifs";
14 version = "1.3.1";
15 pyproject = true;
16
17 disabled = pythonOlder "3.6";
18
19 src = fetchFromGitHub {
20 owner = "oracle";
21 repo = "ocifs";
22 tag = "v${version}";
23 hash = "sha256-IGl9G4NyzhcqrfYfgeZin+wt1OwHmh6780MPfZBwsXA=";
24 };
25
26 build-system = [ flit-core ];
27
28 dependencies = [
29 fsspec
30 oci
31 requests
32 ];
33
34 # Module has no tests
35 doCheck = false;
36
37 pythonImportsCheck = [ "ocifs" ];
38
39 meta = with lib; {
40 description = "Oracle Cloud Infrastructure Object Storage fsspec implementation";
41 homepage = "https://ocifs.readthedocs.io";
42 changelog = "https://github.com/oracle/ocifs/releases/tag/v${version}";
43 license = licenses.upl;
44 maintainers = with maintainers; [ fab ];
45 };
46}