aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/azure-servicemanagement-legacy/default.nix
blob: 13d577362a366b9442e5ea95951e63020946fc41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchPypi
, azure-common
, requests
}:

buildPythonPackage rec {
  version = "0.20.7";
  pname = "azure-servicemanagement-legacy";

  src = fetchPypi {
    inherit version pname;
    extension = "zip";
    sha256 = "1kcibw17qm8c02y28xabm3k1zrawi6g4q8kzc751l5l3vagqnf2x";
  };

  propagatedBuildInputs = [
    azure-common
    requests
  ];

  pythonNamespaces = [ "azure" ];
  # has no tests
  doCheck = false;
  pythonImportsCheck = [ "azure.servicemanagement" ];

  meta = with lib; {
    description = "This is the Microsoft Azure Service Management Legacy Client Library";
    homepage = "https://github.com/Azure/azure-sdk-for-python";
    license = licenses.mit;
    maintainers = with maintainers; [ olcai mwilsoninsight ];
  };
}