mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
51 lines
1.2 KiB
Nix
51 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
azure-core,
|
|
azure-storage-blob,
|
|
isodate,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-storage-file-datalake";
|
|
version = "12.17.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Azure";
|
|
repo = "azure-sdk-for-python";
|
|
rev = "refs/tags/azure-storage-file-datalake_${version}";
|
|
hash = "sha256-FT51a7yuSMLJSnMFK9N09Rc8p/uaoYCcj9WliSvY6UA=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/sdk/storage/azure-storage-file-datalake";
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
azure-core
|
|
azure-storage-blob
|
|
isodate
|
|
typing-extensions
|
|
];
|
|
|
|
optional-dependencies = {
|
|
aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
|
|
};
|
|
|
|
pythonImportsCheck = [ "azure.storage.filedatalake" ];
|
|
|
|
# require devtools_testutils which is a internal package for azure-sdk
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Microsoft Azure File DataLake Storage Client Library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-datalake";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|