about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/azure-servicemanagement-legacy/default.nix
blob: 51e1c08e63dc2ffa55a942136632d12bf5c76676 (plain) (blame)
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
35
36
37
{ lib
, buildPythonPackage
, fetchFromGitHub
, azure-common
, requests
}:

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

  src = fetchFromGitHub {
    owner = "Azure";
    repo = "azure-sdk-for-python";
    rev = "ab01fc1f23462f130c69f46505524b88101023dc";
    sha256 = "0w2bm9hkwy1m94l8r2klnpqn4192y8bir3z8bymxgfx9y0b1mn2q";
  };

  preBuild = ''
    cd ./azure-servicemanagement-legacy
  '';

  propagatedBuildInputs = [
    azure-common
    requests
  ];

  # has no tests
  doCheck = false;

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