mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
32 lines
764 B
Nix
32 lines
764 B
Nix
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||
|
, azure-common
|
||
|
, msrest
|
||
|
, msrestazure
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
version = "0.1.0";
|
||
|
pname = "azure-mgmt-apimanagement";
|
||
|
disabled = isPy27;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
|
||
|
extension = "zip";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||
|
|
||
|
# no tests included
|
||
|
doCheck = false;
|
||
|
|
||
|
pythonImportsCheck = [ "azure.common" "azure.mgmt.apimanagement" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Microsoft Azure API Management Client Library for Python";
|
||
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ jonringer ];
|
||
|
};
|
||
|
}
|