python310Packages.adlfs: init at 2022.7.0
This commit is contained in:
parent
7275686165
commit
a90a8584c8
2 changed files with 51 additions and 0 deletions
49
pkgs/development/python-modules/adlfs/default.nix
Normal file
49
pkgs/development/python-modules/adlfs/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -205,6 +205,8 @@ in {
|
|||
|
||||
adjusttext = callPackage ../development/python-modules/adjusttext { };
|
||||
|
||||
adlfs = callPackage ../development/python-modules/adlfs { };
|
||||
|
||||
advantage-air = callPackage ../development/python-modules/advantage-air { };
|
||||
|
||||
advocate = callPackage ../development/python-modules/advocate { };
|
||||
|
|
Loading…
Reference in a new issue