From b6714f59cce26ddc831ca4a213e8f56476184fb1 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Mon, 10 Sep 2018 18:33:48 +0200 Subject: initial commit --- .../azure-datalake-store/default.nix | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/azure-datalake-store/default.nix (limited to 'pkgs/development/python-modules/azure-datalake-store') diff --git a/pkgs/development/python-modules/azure-datalake-store/default.nix b/pkgs/development/python-modules/azure-datalake-store/default.nix new file mode 100644 index 0000000..b2b1d39 --- /dev/null +++ b/pkgs/development/python-modules/azure-datalake-store/default.nix @@ -0,0 +1,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 ]; + }; +} -- cgit v1.2.3