Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, msrest 5, azure-common 6, msrestazure 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "azure-batch"; 12 version = "13.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 hash = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo="; 21 }; 22 23 propagatedBuildInputs = [ 24 msrest 25 msrestazure 26 azure-common 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ 33 "azure.batch" 34 ]; 35 36 meta = with lib; { 37 description = "This is the Microsoft Azure Batch Client Library"; 38 homepage = "https://github.com/Azure/azure-sdk-for-python"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ maxwilson ]; 41 }; 42}