1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
44 lines
826 B
Nix
44 lines
826 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
fsspec,
|
|
oci,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ocifs";
|
|
version = "1.3.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oracle";
|
|
repo = "ocifs";
|
|
tag = "v${version}";
|
|
hash = "sha256-IGl9G4NyzhcqrfYfgeZin+wt1OwHmh6780MPfZBwsXA=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
fsspec
|
|
oci
|
|
requests
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ocifs" ];
|
|
|
|
meta = {
|
|
description = "Oracle Cloud Infrastructure Object Storage fsspec implementation";
|
|
homepage = "https://ocifs.readthedocs.io";
|
|
changelog = "https://github.com/oracle/ocifs/releases/tag/v${version}";
|
|
license = lib.licenses.upl;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|