python3Packages.azure-multiapi-storage: init at 0.2.4
This commit is contained in:
parent
21552a4b17
commit
c8971590f7
2 changed files with 38 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
{ lib, python, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.4";
|
||||
pname = "azure-multiapi-storage";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zqapc4dx6qd9bcim5fjykk3n1j84p85nwqyb876nb7qmqx9spig";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# fix namespace issues
|
||||
postInstall = ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/multiapi/__init__.py
|
||||
'';
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.multiapi.storage" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
|
@ -447,6 +447,8 @@ in {
|
|||
|
||||
azure-mgmt-web = callPackage ../development/python-modules/azure-mgmt-web { };
|
||||
|
||||
azure-multiapi-storage = callPackage ../development/python-modules/azure-multiapi-storage { };
|
||||
|
||||
backports_csv = callPackage ../development/python-modules/backports_csv {};
|
||||
|
||||
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which {};
|
||||
|
|
Loading…
Reference in a new issue