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

43 lines
947 B
Nix

{
lib,
azure-common,
azure-mgmt-core,
buildPythonPackage,
fetchPypi,
isodate,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-search";
version = "9.2.0";
pyproject = true;
src = fetchPypi {
pname = "azure_mgmt_search";
inherit version;
hash = "sha256-oNoOwzLR9D0PastjuM/YAIWwdeka/PgS+MdprZ/crYQ=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-mgmt-core
isodate
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.search" ];
meta = with lib; {
description = "This is the Microsoft Azure Search Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-search_${version}/sdk/search/azure-mgmt-search/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}