depot/third_party/nixpkgs/pkgs/development/python-modules/ocifs/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

41 lines
758 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, fsspec
, oci
, pythonOlder
}:
buildPythonPackage rec {
pname = "ocifs";
version = "1.1.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "oracle";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-wMKrK7ONc3M6beF9czrGddSeElCOTGh+JD9efb4Shbg=";
};
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";
license = with licenses; [ upl ];
maintainers = with maintainers; [ fab ];
};
}