nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 857 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27 2, azure-common 3, azure-mgmt-core 4, msrest 5, msrestazure 6}: 7 8buildPythonPackage rec { 9 version = "1.0.0"; 10 pname = "azure-mgmt-imagebuilder"; 11 disabled = isPy27; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "634e398de9a23e712aa27a4a59f9ea5d5091d1dfcfed5ac977230918872c4430"; 16 extension = "zip"; 17 }; 18 19 propagatedBuildInputs = [ 20 azure-common 21 azure-mgmt-core 22 msrest 23 msrestazure 24 ]; 25 26 # no tests included 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "azure.common" 31 "azure.mgmt.core" 32 "azure.mgmt.imagebuilder" 33 ]; 34 35 meta = with lib; { 36 description = "Microsoft Azure Image Builder Client Library for Python"; 37 homepage = "https://github.com/Azure/azure-sdk-for-python"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ jonringer ]; 40 }; 41}