1{ lib, buildPythonPackage, isPy3k, fetchPypi
2, configparser
3, faker
4, future
5, mock
6, nose
7, python-dateutil
8, pytz
9, pytestCheckHook
10, urllib3
11}:
12
13buildPythonPackage rec {
14 pname = "minio";
15 version = "6.0.0";
16 disabled = !isPy3k;
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "97d275ff01ddae45101eced0d9d5258f2869308c949b17d86a77b77a2a50b7b3";
21 };
22
23 propagatedBuildInputs = [
24 configparser
25 future
26 python-dateutil
27 pytz
28 urllib3
29 ];
30
31 checkInputs = [ faker mock nose pytestCheckHook ];
32 # example credentials aren't present
33 pytestFlagsArray = [ "--ignore=tests/unit/credentials_test.py" ];
34
35 meta = with lib; {
36 description = "Simple APIs to access any Amazon S3 compatible object storage server";
37 homepage = "https://github.com/minio/minio-py";
38 maintainers = with maintainers; [ peterromfeldhk ];
39 license = licenses.asl20;
40 };
41}