diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-13 20:56:43 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-13 20:56:43 +0200 |
commit | a90a8584c80bb6df0948a9a6589b19f6ca748e57 (patch) | |
tree | 3a38c5f54c9ebff7f1f13a3d816cf33852e9c199 /pkgs/development/python-modules/adlfs | |
parent | 7275686165ffd3d89ccbb3e26d17fc713492b8c4 (diff) |
python310Packages.adlfs: init at 2022.7.0
Diffstat (limited to 'pkgs/development/python-modules/adlfs')
-rw-r--r-- | pkgs/development/python-modules/adlfs/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/adlfs/default.nix b/pkgs/development/python-modules/adlfs/default.nix new file mode 100644 index 0000000000000..c46ffb6f69fc3 --- /dev/null +++ b/pkgs/development/python-modules/adlfs/default.nix @@ -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 ]; + }; +} |