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-multiapi-storage/default.nix | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/development/python-modules/azure-multiapi-storage/default.nix (limited to 'pkgs/development/python-modules/azure-multiapi-storage') diff --git a/pkgs/development/python-modules/azure-multiapi-storage/default.nix b/pkgs/development/python-modules/azure-multiapi-storage/default.nix new file mode 100644 index 0000000..037ec51 --- /dev/null +++ b/pkgs/development/python-modules/azure-multiapi-storage/default.nix @@ -0,0 +1,40 @@ +{ stdenv, buildPythonPackage, fetchPypi, python, isPy27 +, azure-common +, azure-nspkg +, cryptography +, python-dateutil +, requests +, futures +}: + +buildPythonPackage rec { + pname = "azure_multiapi_storage"; + version = "0.2.1"; + format = "wheel"; + + src = fetchPypi { + inherit pname version format; + sha256 = "091qz206v9k6vb2lvr7shlhjsln711gplg8rf5f3wx6z35i2i5h4"; + }; + + propagatedBuildInputs = [ + azure-common + azure-nspkg + cryptography + python-dateutil + requests + ] ++ stdenv.lib.optional (isPy27) futures; + + postFixup = '' + rm $out/${python.sitePackages}/azure/__init__.py + ''; + + doCheck = false; + + meta = with stdenv.lib; { + description = "Microsoft Azure Storage Client Library for Python with multi API version support."; + homepage = https://github.com/Azure/azure-multiapi-storage-python; + license = licenses.mit; + maintainers = with maintainers; [ stesie ]; + }; +} -- cgit v1.2.3