nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 azure-core,
4 azure-storage-blob,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 setuptools,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-storage-file-datalake";
14 version = "12.21.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "azure_storage_file_datalake";
19 inherit version;
20 hash = "sha256-tJzSFW6jJfb0So9mdNc8WUnprEjWSA+vkBspOYVfzdM=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 azure-core
27 azure-storage-blob
28 isodate
29 typing-extensions
30 ];
31
32 optional-dependencies = {
33 aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
34 };
35
36 pythonImportsCheck = [ "azure.storage.filedatalake" ];
37
38 # Tests are only available in mono repo
39 doCheck = false;
40
41 meta = {
42 description = "Microsoft Azure File DataLake Storage Client Library for Python";
43 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-datalake";
44 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-datalake_${version}/sdk/storage/azure-storage-file-datalake/CHANGELOG.md";
45 license = lib.licenses.mit;
46 maintainers = [ ];
47 };
48}