summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ocifs/default.nix
blob: 2e3704b5aaa124a8f8548c29051170a7fcf298d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flit-core,
  fsspec,
  oci,
  requests,
}:

buildPythonPackage rec {
  pname = "ocifs";
  version = "1.3.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "oracle";
    repo = "ocifs";
    tag = "v${version}";
    hash = "sha256-IGl9G4NyzhcqrfYfgeZin+wt1OwHmh6780MPfZBwsXA=";
  };

  build-system = [ flit-core ];

  dependencies = [
    fsspec
    oci
    requests
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "ocifs" ];

  meta = {
    description = "Oracle Cloud Infrastructure Object Storage fsspec implementation";
    homepage = "https://ocifs.readthedocs.io";
    changelog = "https://github.com/oracle/ocifs/releases/tag/v${version}";
    license = lib.licenses.upl;
    maintainers = with lib.maintainers; [ fab ];
  };
}