pythonPackages.azure-storage-file: init at 1.4.0
commit1fa72762c97ddc632457ff32a563a679614f6008
authorRoger Qiu <roger.qiu@polyhack.io>
dateMon 21 Jan 2019, 12:22 (8 years ago)
parent96c408b
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/top-level/python-packages.nix+2
@@ -244,6 +244,8 @@ in {
244244
245245 azure-storage-blob = callPackage ../development/python-modules/azure-storage-blob { };
246246
247+ azure-storage-file = callPackage ../development/python-modules/azure-storage-file { };
248+
247249 azure-servicemanagement-legacy = callPackage ../development/python-modules/azure-servicemanagement-legacy { };
248250
249251 backports_csv = callPackage ../development/python-modules/backports_csv {};