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