mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
39 lines
772 B
Nix
39 lines
772 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, msrest
|
|
, msrestazure
|
|
, azure-common
|
|
, azure-mgmt-nspkg
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-mgmt-reservations";
|
|
version = "0.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "f65c1985a47e0ac55e7d5d9cc1bd5e95335a111566edc289d460aa2bc8f80991";
|
|
};
|
|
|
|
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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mwilsoninsight ];
|
|
};
|
|
}
|