nixpkgs/pkgs/development/python-modules/azure-storage-file-datalake/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.2 KiB
Nix
Raw Normal View History

{
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; [ ];
};
}