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