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