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