pythonPackages.azure-servicemanagement-legacy: 0.20.6 -> 0.20.7

This commit is contained in:
Max Wilson 2019-04-29 17:29:02 -04:00 committed by Wael M. Nasreddine
parent 5ea3e9cac0
commit d0aac32018
No known key found for this signature in database
GPG Key ID: FD437548E0BF0F5F

View File

@ -1,31 +1,37 @@
{ pkgs { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, azure-common , azure-common
, requests , requests
, python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.20.6"; version = "0.20.7";
pname = "azure-servicemanagement-legacy"; pname = "azure-servicemanagement-legacy";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "Azure";
extension = "zip"; repo = "azure-sdk-for-python";
sha256 = "c883ff8fa3d4f4cb7b9344e8cb7d92a9feca2aa5efd596237aeea89e5c10981d"; rev = "ab01fc1f23462f130c69f46505524b88101023dc";
sha256 = "0w2bm9hkwy1m94l8r2klnpqn4192y8bir3z8bymxgfx9y0b1mn2q";
}; };
propagatedBuildInputs = [ azure-common requests ]; preBuild = ''
cd ./azure-servicemanagement-legacy
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
''; '';
meta = with pkgs.lib; { propagatedBuildInputs = [
description = "Microsoft Azure SDK for Python"; azure-common
homepage = "https://azure.microsoft.com/en-us/develop/python/"; requests
license = licenses.asl20; ];
maintainers = with maintainers; [ olcai ];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Service Management Legacy Client Library";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-servicemanagement-legacy;
license = licenses.mit;
maintainers = with maintainers; [ olcai mwilsoninsight ];
}; };
} }