1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, azure-core
6, cryptography
7, isodate
8, msrest
9, typing-extensions
10}:
11
12buildPythonPackage rec {
13 pname = "azure-storage-file-share";
14 version = "12.12.0";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 extension = "zip";
22 hash = "sha256-z35H90n8Buy5m2RhKrS9lCJ7mTFJekwnwoZXF8PaoIk=";
23 };
24
25 propagatedBuildInputs = [
26 azure-core
27 cryptography
28 isodate
29 msrest
30 typing-extensions
31 ];
32
33 # requires checkout from monorepo
34 doCheck = false;
35
36 pythonImportsCheck = [
37 "azure.core"
38 "azure.storage"
39 ];
40
41 meta = with lib; {
42 description = "Microsoft Azure File Share Storage Client Library for Python";
43 homepage = "https://github.com/Azure/azure-sdk-for-python";
44 license = licenses.mit;
45 maintainers = with maintainers; [ kamadorueda ];
46 };
47}