Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, msrest 5, msrestazure 6, azure-common 7, azure-mgmt-nspkg 8, isPy3k 9}: 10 11buildPythonPackage rec { 12 pname = "azure-mgmt-datamigration"; 13 version = "2.2.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 sha256 = "0bixyya9afas0sv2wji7ivfi64z4dvv8p1gjnppibi5zas1mb4zw"; 19 }; 20 21 propagatedBuildInputs = [ 22 msrest 23 msrestazure 24 azure-common 25 ] ++ lib.optionals (!isPy3k) [ 26 azure-mgmt-nspkg 27 ]; 28 29 # has no tests 30 doCheck = false; 31 32 meta = with lib; { 33 description = "This is the Microsoft Azure Data Migration Client Library"; 34 homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-datamigration; 35 license = licenses.mit; 36 maintainers = with maintainers; [ mwilsoninsight ]; 37 }; 38}