depot/third_party/nixpkgs/pkgs/development/python-modules/ocifs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

47 lines
888 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, fsspec
, oci
, pythonOlder
}:
buildPythonPackage rec {
pname = "ocifs";
version = "1.3.1";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "oracle";
repo = "ocifs";
rev = "refs/tags/v${version}";
hash = "sha256-IGl9G4NyzhcqrfYfgeZin+wt1OwHmh6780MPfZBwsXA=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
fsspec
oci
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"ocifs"
];
meta = with lib; {
description = "Oracle Cloud Infrastructure Object Storage fsspec implementation";
homepage = "https://ocifs.readthedocs.io";
changelog = "https://github.com/oracle/ocifs/releases/tag/v${version}";
license = with licenses; [ upl ];
maintainers = with maintainers; [ fab ];
};
}