My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/adlfs/default.nix

49 lines
921 B

{ lib
, aiohttp
, azure-core
, azure-datalake-store
, azure-identity
, azure-storage-blob
, buildPythonPackage
, fetchFromGitHub
, fsspec
, pythonOlder
}:
buildPythonPackage rec {
pname = "adlfs";
version = "2022.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fsspec";
repo = pname;
rev = version;
hash = "sha256-h/xcqb7G4uj4WNVE8is/s2LQ2NfzP1negh15G8B9YCs=";
};
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 ];
};
}