nixpkgs/pkgs/development/python-modules/azure-mgmt-cdn/default.nix

39 lines
765 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-cdn";
2019-12-19 19:31:05 +00:00
version = "4.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
2019-12-19 19:31:05 +00:00
sha256 = "a53e9e09e2711ce9109329538fe9a8a1a5d0809efb231d7df481e55d09c4f02a";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure CDN Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}