mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
pythonPackages.azure-mgmt-storage: refactor
Removed doCheck and updated metadata
This commit is contained in:
parent
707a567ebd
commit
5ea3e9cac0
@ -1,31 +1,35 @@
|
||||
{ pkgs
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, azure-mgmt-common
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.1";
|
||||
version = "3.3.0";
|
||||
pname = "azure-mgmt-storage";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "22a779cae5e09712b7d62ef9bc3d8907a5666893a8a113b6d9348e933170236f";
|
||||
sha256 = "1kffay8hr8h3hf78wb1kisvffpwxsxy6lixbgh9dbv0p781sgyh6";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
postInstall = if isPy3k then "" else ''
|
||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
|
||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ azure-mgmt-common ];
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Microsoft Azure SDK for Python";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "This is the Microsoft Azure Storage Management Client Library";
|
||||
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/storage?view=azure-python;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ olcai mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user