depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-redis/default.nix

41 lines
794 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-redis";
version = "14.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-u6PG1mx3iiiLssoLzOj5kxI2L3uvQMnWrEQY6MBJOtA=";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Redis Cache Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}