depot/third_party/nixpkgs/pkgs/development/python-modules/adlfs/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

49 lines
920 B
Nix

{ lib
, aiohttp
, azure-core
, azure-datalake-store
, azure-identity
, azure-storage-blob
, buildPythonPackage
, fetchFromGitHub
, fsspec
, pythonOlder
}:
buildPythonPackage rec {
pname = "adlfs";
version = "2022.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fsspec";
repo = pname;
rev = version;
hash = "sha256-79HPJip+nocYo/r8LCb9vdYKVuEh0BBrz/eTJF0eGTA=";
};
propagatedBuildInputs = [
aiohttp
azure-core
azure-datalake-store
azure-identity
azure-storage-blob
fsspec
];
# Tests require a running Docker instance
doCheck = false;
pythonImportsCheck = [
"adlfs"
];
meta = with lib; {
description = "Filesystem interface to Azure-Datalake Gen1 and Gen2 Storage";
homepage = "https://github.com/fsspec/adlfs";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}