forked from mirrors/nixpkgs
40 lines
747 B
Nix
40 lines
747 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, adal
|
|
, azure-common
|
|
, futures
|
|
, pathlib2
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-datalake-store";
|
|
version = "0.0.47";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "19fkkabr76r851r95kh5dpk4bdn3jkysv3aij6i2x99mkb4vxg2m";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
adal
|
|
azure-common
|
|
] ++ lib.optionals (!isPy3k) [
|
|
futures
|
|
pathlib2
|
|
];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "This project is the Python filesystem library for Azure Data Lake Store";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mwilsoninsight ];
|
|
};
|
|
}
|