about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/minio/default.nix
blob: 6fdc962cdb461279315e7a143e63027d1e711d28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib, buildPythonPackage, isPy3k, fetchPypi
, configparser
, faker
, future
, mock
, nose
, python-dateutil
, pytz
, pytestCheckHook
, urllib3
}:

buildPythonPackage rec {
  pname = "minio";
  version = "5.0.10";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "6ecb7637a35f806733e9d112eacfa599a58d7c3d4698fda2b5c86fff5d34b417";
  };

  propagatedBuildInputs = [
    configparser
    future
    python-dateutil
    pytz
    urllib3
  ];

  checkInputs = [ faker mock nose pytestCheckHook ];

  meta = with lib; {
    description = "Simple APIs to access any Amazon S3 compatible object storage server";
    homepage = "https://github.com/minio/minio-py";
    maintainers = with maintainers; [ peterromfeldhk ];
    license = licenses.asl20;
  };
}