nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 39 lines 787 B view raw
1{ pkgs 2, buildPythonPackage 3, fetchPypi 4, azure-mgmt-core 5, azure-mgmt-common 6, isPy3k 7}: 8 9 10buildPythonPackage rec { 11 version = "21.1.0"; 12 pname = "azure-mgmt-resource"; 13 disabled = !isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 sha256 = "sha256-UpZa3jHNBZ/qKxUT1l/mFgRuQz3g5YPc9cnJvr8+vWk="; 19 }; 20 21 propagatedBuildInputs = [ 22 azure-mgmt-common 23 azure-mgmt-core 24 ]; 25 26 # has no tests 27 doCheck = false; 28 29 pythonNamespaces = [ "azure.mgmt" ]; 30 31 pythonImportsCheck = [ "azure.mgmt.resource" ]; 32 33 meta = with pkgs.lib; { 34 description = "Microsoft Azure SDK for Python"; 35 homepage = "https://github.com/Azure/azure-sdk-for-python"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ olcai maxwilson jonringer ]; 38 }; 39}