Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 73 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, flit-core, importlib-metadata, typing-extensions, cloudpathlib, azure-storage-blob, google-cloud-storage, boto3, psutil, pydantic, pytest7CheckHook, pytest-cases, pytest-cov, pytest-xdist, python-dotenv, shortuuid,}:
buildPythonPackage rec { pname = "cloudpathlib"; version = "0.18.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "drivendataorg"; repo = "cloudpathlib"; rev = "refs/tags/v${version}"; hash = "sha256-RrdRUqQ3QyMUpTi1FEsSXK6WS37r77SdPBH1oVVvSw0="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ importlib-metadata typing-extensions ];
passthru.optional-dependencies = { all = [ cloudpathlib ]; azure = [ azure-storage-blob ]; gs = [ google-cloud-storage ]; s3 = [ boto3 ]; };
pythonImportsCheck = [ "cloudpathlib" ];
nativeCheckInputs = [ azure-storage-blob boto3 google-cloud-storage psutil pydantic pytest7CheckHook pytest-cases pytest-cov pytest-xdist python-dotenv shortuuid ];
meta = with lib; { description = "Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage"; homepage = "https://github.com/drivendataorg/cloudpathlib"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; };}