Merge pull request #54261 from MatrixAI/azure-storage
azure-storage-python
This commit is contained in:
commit
a5de410880
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, azure-common
|
||||
, azure-storage-common
|
||||
, isPy3k
|
||||
, futures
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-blob";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "65ebe2e54460566c2077c6b3773a2a0623eabc7b95602010cb51b84077087fda";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
azure-storage-common
|
||||
] ++ lib.optional (!isPy3k) futures;
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for Microsoft Azure Storage services containing the blob service APIs";
|
||||
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-blob;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, azure-common
|
||||
, cryptography
|
||||
, python-dateutil
|
||||
, requests
|
||||
, isPy3k
|
||||
, azure-storage-nspkg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-common";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7ab607f9b8fd27b817482194b1e7d43484c65dcf2605aae21ad8706c6891934d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
cryptography
|
||||
python-dateutil
|
||||
requests
|
||||
] ++ lib.optional (!isPy3k) azure-storage-nspkg;
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
|
||||
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-common;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, azure-common
|
||||
, azure-storage-common
|
||||
, isPy3k
|
||||
, futures
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-file";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5217b0441b671246a8d5f506a459fa3af084eeb9297c5be3bbe95d75d23bac2f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
azure-storage-common
|
||||
] ++ lib.optional (!isPy3k) futures;
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for Microsoft Azure Storage services containing the file service APIs";
|
||||
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-file;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, azure-nspkg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-nspkg";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6f3bbe8652d5f542767d8433e7f96b8df7f518774055ac7c92ed7ca85f653811";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-nspkg
|
||||
];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for Microsoft Azure Storage services owning the azure.storage namespace, user should not use this directly";
|
||||
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-nspkg;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, azure-common
|
||||
, azure-storage-common
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-storage-queue";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bafe9e61c0ce7b3f3ecadea21e931dab3248bd4989dc327a8666c5deae7f7ed";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
azure-storage-common
|
||||
];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
|
||||
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-queue;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
@ -238,6 +238,16 @@ in {
|
||||
|
||||
azure-storage = callPackage ../development/python-modules/azure-storage { };
|
||||
|
||||
azure-storage-nspkg = callPackage ../development/python-modules/azure-storage-nspkg { };
|
||||
|
||||
azure-storage-common = callPackage ../development/python-modules/azure-storage-common { };
|
||||
|
||||
azure-storage-blob = callPackage ../development/python-modules/azure-storage-blob { };
|
||||
|
||||
azure-storage-file = callPackage ../development/python-modules/azure-storage-file { };
|
||||
|
||||
azure-storage-queue = callPackage ../development/python-modules/azure-storage-queue { };
|
||||
|
||||
azure-servicemanagement-legacy = callPackage ../development/python-modules/azure-servicemanagement-legacy { };
|
||||
|
||||
backports_csv = callPackage ../development/python-modules/backports_csv {};
|
||||
|
Loading…
Reference in New Issue
Block a user