python3Packages.azure-storage: drop due to being deprecated

This commit is contained in:
Nick Cao 2023-01-19 17:01:54 +08:00
parent 746a47bea0
commit a66e5df6b3
No known key found for this signature in database
2 changed files with 0 additions and 38 deletions

View File

@ -1,36 +0,0 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, azure-common
, cryptography
, futures ? null
, python-dateutil
, requests
, isPy3k
}:
buildPythonPackage rec {
version = "0.36.0";
pname = "azure-storage";
src = fetchPypi {
inherit pname version;
sha256 = "0pyasfxkin6j8j00qmky7d9cvpxgis4fi9bscgclj6yrpvf14qpv";
};
propagatedBuildInputs = [ azure-common cryptography python-dateutil requests ]
++ pkgs.lib.optionals (!isPy3k) [ futures ];
postPatch = ''
rm azure_bdist_wheel.py
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-nspkg" ""
'';
meta = with pkgs.lib; {
description = "Microsoft Azure SDK for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
}

View File

@ -1075,8 +1075,6 @@ self: super: with self; {
azure-storage-blob = callPackage ../development/python-modules/azure-storage-blob { };
azure-storage = callPackage ../development/python-modules/azure-storage { };
azure-storage-common = callPackage ../development/python-modules/azure-storage-common { };
azure-storage-file = callPackage ../development/python-modules/azure-storage-file { };