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-store";
13 version = "0.5.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 extension = "zip";
18 sha256 = "9376d35495661d19f8acc5604f67b0bc59493b1835bbc480f9a1952f90017a4c";
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 Store Management Client Library";
38 homepage = "https://github.com/Azure/azure-sdk-for-python";
39 license = licenses.mit;
40 maintainers = with maintainers; [ jonringer mwilsoninsight ];
41 };
42}