Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / azure-mgmt-recoveryservices / default.nix
blob5f6377d54edd31d21de9ef1e04603468f0b50dd4
1 { lib
2 , azure-common
3 , azure-mgmt-core
4 , buildPythonPackage
5 , fetchPypi
6 , isodate
7 , pythonOlder
8 , typing-extensions
9 }:
11 buildPythonPackage rec {
12   pname = "azure-mgmt-recoveryservices";
13   version = "2.5.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-XxowjEhYx5uD/4vY5hGSCSvcarmdbdc5Y2GLHciEurU=";
21   };
23   propagatedBuildInputs = [
24     azure-common
25     azure-mgmt-core
26     isodate
27   ] ++ lib.optionals (pythonOlder "3.8") [
28     typing-extensions
29   ];
31   # Module has no tests
32   doCheck = false;
34   pythonImportsCheck = [
35     "azure.mgmt.recoveryservices"
36   ];
38   meta = with lib; {
39     description = "This is the Microsoft Azure Recovery Services Client Library";
40     homepage = "https://github.com/Azure/azure-sdk-for-python";
41     changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-recoveryservices_${version}/sdk/recoveryservices/azure-mgmt-recoveryservices/CHANGELOG.md";
42     license = licenses.mit;
43     maintainers = with maintainers; [ maxwilson ];
44   };