forked from mirrors/nixpkgs
39 lines
794 B
Nix
39 lines
794 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, msrest
|
||
|
, msrestazure
|
||
|
, azure-common
|
||
|
, azure-mgmt-nspkg
|
||
|
, isPy3k
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "azure-mgmt-reservations";
|
||
|
version = "0.3.2";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
extension = "zip";
|
||
|
sha256 = "0nksxjh5kh09dr0zw667fg8mzik4ymvfq3dipwag6pynbqr9ls4l";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
msrest
|
||
|
msrestazure
|
||
|
azure-common
|
||
|
] ++ lib.optionals (!isPy3k) [
|
||
|
azure-mgmt-nspkg
|
||
|
];
|
||
|
|
||
|
# has no tests
|
||
|
doCheck = false;
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "This is the Microsoft Azure Reservations Client Library";
|
||
|
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-reservations;
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ mwilsoninsight ];
|
||
|
};
|
||
|
}
|