nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 42 lines 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, isPy3k 6, msrestazure 7, azure-common 8, azure-mgmt-datalake-nspkg 9}: 10 11buildPythonPackage rec { 12 pname = "azure-mgmt-datalake-analytics"; 13 version = "0.6.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 sha256 = "0d64c4689a67d6138eb9ffbaff2eda2bace7d30b846401673183dcb42714de8f"; 19 }; 20 21 propagatedBuildInputs = [ 22 msrestazure 23 azure-common 24 azure-mgmt-datalake-nspkg 25 ]; 26 27 postInstall = lib.optionalString isPy3k '' 28 rm $out/${python.sitePackages}/azure/__init__.py 29 rm $out/${python.sitePackages}/azure/mgmt/__init__.py 30 rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py 31 ''; 32 33 # has no tests 34 doCheck = false; 35 36 meta = with lib; { 37 description = "This is the Microsoft Azure Data Lake Analytics Management Client Library"; 38 homepage = "https://github.com/Azure/azure-sdk-for-python"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ mwilsoninsight ]; 41 }; 42}