nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 azure-mgmt-common,
6 azure-mgmt-core,
7 isodate,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-storage";
13 version = "24.0.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "azure_mgmt_storage";
18 inherit version;
19 hash = "sha256-sa4iXvh62oXynALkBhQKtYlShcpk3ivP5QtjHEgYozc=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 azure-mgmt-common
26 azure-mgmt-core
27 isodate
28 ];
29
30 pythonNamespaces = [ "azure.mgmt" ];
31
32 pythonImportsCheck = [ "azure.mgmt.storage" ];
33
34 # Module has no tests
35 doCheck = false;
36
37 meta = {
38 description = "This is the Microsoft Azure Storage Management Client Library";
39 homepage = "https://github.com/Azure/azure-sdk-for-python";
40 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-storage_${version}/sdk/storage/azure-mgmt-storage/CHANGELOG.md";
41 license = lib.licenses.mit;
42 maintainers = with lib.maintainers; [
43 olcai
44 maxwilson
45 ];
46 };
47}