diff options
author | Stefan Siegl <stesie@brokenpipe.de> | 2018-09-10 18:33:48 +0200 |
---|---|---|
committer | Stefan Siegl <stesie@brokenpipe.de> | 2018-09-10 18:33:48 +0200 |
commit | b6714f59cce26ddc831ca4a213e8f56476184fb1 (patch) | |
tree | 48abe892298c6d9e77d48e9de7d848af9beee71d /pkgs/development/python-modules/azure-multiapi-storage |
initial commit
Diffstat (limited to 'pkgs/development/python-modules/azure-multiapi-storage')
-rw-r--r-- | pkgs/development/python-modules/azure-multiapi-storage/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
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 ]; + }; +} |