depot/third_party/nixpkgs/pkgs/development/python-modules/ocifs/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
885 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 ];
};
}