2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, azure-common
|
2021-01-15 22:18:51 +00:00
|
|
|
, azure-mgmt-core
|
2023-11-16 04:20:00 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isodate
|
2023-03-04 12:14:45 +00:00
|
|
|
, pythonOlder
|
|
|
|
, typing-extensions
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-search";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "9.1.0";
|
2023-03-04 12:14:45 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-U7xu6tsJdNIfEguyG7Xmgn321lDhc0dGD9g+LWiINZk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
2021-01-15 22:18:51 +00:00
|
|
|
azure-mgmt-core
|
2023-11-16 04:20:00 +00:00
|
|
|
isodate
|
2023-03-04 12:14:45 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
|
|
|
typing-extensions
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
# Module has no tests
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.mgmt.search"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Search Management Client Library";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-search_${version}/sdk/search/azure-mgmt-search/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|