git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #54261 from MatrixAI/azure-storage

azure-storage-python

commita5de41088031e6d3d4f799ef3964317a74e72169 authorworldofpeace <worldofpeace@users.noreply.github.com> dateTue 22 Jan 2019, 05:50 (8 years ago) parent5476f5970cd3be
6 files changed+173
pkgs/development/python-modules/azure-storage-blob/default.nix+33 pkgs/development/python-modules/azure-storage-common/default.nix+37 pkgs/development/python-modules/azure-storage-file/default.nix+33 pkgs/development/python-modules/azure-storage-nspkg/default.nix+29 pkgs/development/python-modules/azure-storage-queue/default.nix+31 pkgs/top-level/python-packages.nix+10
pkgs/development/python-modules/azure-storage-blob/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, azure-common
5+, azure-storage-common
6+, isPy3k
7+, futures
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "azure-storage-blob";
12+ version = "1.4.0";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ sha256 = "65ebe2e54460566c2077c6b3773a2a0623eabc7b95602010cb51b84077087fda";
17+ };
18+
19+ propagatedBuildInputs = [
20+ azure-common
21+ azure-storage-common
22+ ] ++ lib.optional (!isPy3k) futures;
23+
24+ # has no tests
25+ doCheck = false;
26+
27+ meta = with lib; {
28+ description = "Client library for Microsoft Azure Storage services containing the blob service APIs";
29+ homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-blob;
30+ license = licenses.mit;
31+ maintainers = with maintainers; [ cmcdragonkai ];
32+ };
33+}
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/development/python-modules/azure-storage-file/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, azure-common
5+, azure-storage-common
6+, isPy3k
7+, futures
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "azure-storage-file";
12+ version = "1.4.0";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ sha256 = "5217b0441b671246a8d5f506a459fa3af084eeb9297c5be3bbe95d75d23bac2f";
17+ };
18+
19+ propagatedBuildInputs = [
20+ azure-common
21+ azure-storage-common
22+ ] ++ lib.optional (!isPy3k) futures;
23+
24+ # has no tests
25+ doCheck = false;
26+
27+ meta = with lib; {
28+ description = "Client library for Microsoft Azure Storage services containing the file service APIs";
29+ homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-file;
30+ license = licenses.mit;
31+ maintainers = with maintainers; [ cmcdragonkai ];
32+ };
33+}
pkgs/development/python-modules/azure-storage-nspkg/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, azure-nspkg
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "azure-storage-nspkg";
9+ version = "3.1.0";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "6f3bbe8652d5f542767d8433e7f96b8df7f518774055ac7c92ed7ca85f653811";
14+ };
15+
16+ propagatedBuildInputs = [
17+ azure-nspkg
18+ ];
19+
20+ # has no tests
21+ doCheck = false;
22+
23+ meta = with lib; {
24+ description = "Client library for Microsoft Azure Storage services owning the azure.storage namespace, user should not use this directly";
25+ homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-nspkg;
26+ license = licenses.mit;
27+ maintainers = with maintainers; [ cmcdragonkai ];
28+ };
29+}
pkgs/development/python-modules/azure-storage-queue/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, azure-common
5+, azure-storage-common
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "azure-storage-queue";
10+ version = "1.4.0";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "0bafe9e61c0ce7b3f3ecadea21e931dab3248bd4989dc327a8666c5deae7f7ed";
15+ };
16+
17+ propagatedBuildInputs = [
18+ azure-common
19+ azure-storage-common
20+ ];
21+
22+ # has no tests
23+ doCheck = false;
24+
25+ meta = with lib; {
26+ description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
27+ homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-queue;
28+ license = licenses.mit;
29+ maintainers = with maintainers; [ cmcdragonkai ];
30+ };
31+}
pkgs/top-level/python-packages.nix+10
@@ -238,6 +238,16 @@ in {
238238
239239 azure-storage = callPackage ../development/python-modules/azure-storage { };
240240
241+ azure-storage-nspkg = callPackage ../development/python-modules/azure-storage-nspkg { };
242+
243+ azure-storage-common = callPackage ../development/python-modules/azure-storage-common { };
244+
245+ azure-storage-blob = callPackage ../development/python-modules/azure-storage-blob { };
246+
247+ azure-storage-file = callPackage ../development/python-modules/azure-storage-file { };
248+
249+ azure-storage-queue = callPackage ../development/python-modules/azure-storage-queue { };
250+
241251 azure-servicemanagement-legacy = callPackage ../development/python-modules/azure-servicemanagement-legacy { };
242252
243253 backports_csv = callPackage ../development/python-modules/backports_csv {};