pythonPackages.azure-storage-common: init at 1.4.0
commit288407be95ff6c5cc6773cfc9e21077098f48775
authorRoger Qiu <roger.qiu@polyhack.io>
dateMon 21 Jan 2019, 12:20 (8 years ago)
parent878122e
pkgs/development/python-modules/azure-storage-common/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, azure-common
5+, cryptography
6+, python-dateutil
7+, requests
8+, isPy3k
9+, azure-storage-nspkg
10+}:
11+
12+buildPythonPackage rec {
13+ pname = "azure-storage-common";
14+ version = "1.4.0";
15+
16+ src = fetchPypi {
17+ inherit pname version;
18+ sha256 = "7ab607f9b8fd27b817482194b1e7d43484c65dcf2605aae21ad8706c6891934d";
19+ };
20+
21+ propagatedBuildInputs = [
22+ azure-common
23+ cryptography
24+ python-dateutil
25+ requests
26+ ] ++ lib.optional (!isPy3k) azure-storage-nspkg;
27+
28+ # has no tests
29+ doCheck = false;
30+
31+ meta = with lib; {
32+ description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
33+ homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-common;
34+ license = licenses.mit;
35+ maintainers = with maintainers; [ cmcdragonkai ];
36+ };
37+}
pkgs/top-level/python-packages.nix+2
@@ -240,6 +240,8 @@ in {
240240
241241 azure-storage-nspkg = callPackage ../development/python-modules/azure-storage-nspkg { };
242242
243+ azure-storage-common = callPackage ../development/python-modules/azure-storage-common { };
244+
243245 azure-servicemanagement-legacy = callPackage ../development/python-modules/azure-servicemanagement-legacy { };
244246
245247 backports_csv = callPackage ../development/python-modules/backports_csv {};