forked from mirrors/nixpkgs
37 lines
738 B
Nix
37 lines
738 B
Nix
{ pkgs
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
, azure-core
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.1.0";
|
|
pname = "azure-mgmt-core";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "049dfb0bcc7961d0d988fee493d1ec4f4480e109e4661e360bad054cc297d43c";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
];
|
|
|
|
pythonNamespaces = "azure.mgmt";
|
|
|
|
# not included
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.core" "azure.core" ];
|
|
|
|
meta = with pkgs.lib; {
|
|
description = "Microsoft Azure Management Core Library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|