aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/azure-datalake-store/default.nix
blob: b2b1d39b606b034489e3e052756ec4c1d949f953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonOlder
, adal
, cffi
, futures
, pathlib2
}:

buildPythonPackage rec {
  pname = "azure_datalake_store";
  version = "0.0.27";
  format = "wheel";

  src = fetchPypi {
    inherit pname version format;
    sha256 = "1h9073jzc2jm9lj345hx59y9rg4qp6fyislq1324hjy5vmvjpis2";
  };

  propagatedBuildInputs = [ adal cffi ]
    ++ stdenv.lib.optional (isPy27) futures
    ++ stdenv.lib.optional (pythonOlder "3.4") pathlib2;

  doCheck = false;

  meta = with stdenv.lib; {
    description = "Azure Data Lake Store Filesystem Client Library for Python";
    homepage = https://github.com/Azure/azure-data-lake-store-python;
    license = licenses.mit;
    maintainers = with maintainers; [ stesie ];
  };
}