1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
azure-core,
|
|
azure-datalake-store,
|
|
azure-identity,
|
|
azure-storage-blob,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
fsspec,
|
|
setuptools,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adlfs";
|
|
version = "2025.8.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fsspec";
|
|
repo = "adlfs";
|
|
tag = version;
|
|
hash = "sha256-e9JO8obFvFHzNeb42Lo2RG21NvLv/eCyWm2fY7MEiTA=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
azure-core
|
|
azure-datalake-store
|
|
azure-identity
|
|
azure-storage-blob
|
|
fsspec
|
|
];
|
|
|
|
pythonRelaxDeps = [ "azure-datalake-store" ];
|
|
|
|
# Tests require a running Docker instance
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "adlfs" ];
|
|
|
|
meta = {
|
|
description = "Filesystem interface to Azure-Datalake Gen1 and Gen2 Storage";
|
|
homepage = "https://github.com/fsspec/adlfs";
|
|
changelog = "https://github.com/fsspec/adlfs/blob/${version}/CHANGELOG.md";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|