depot/third_party/nixpkgs/pkgs/development/python-modules/azure-batch/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

42 lines
780 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, azure-common
, msrestazure
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-batch";
version = "13.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"azure.batch"
];
meta = with lib; {
description = "This is the Microsoft Azure Batch Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}