2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi
|
2020-06-18 07:06:33 +00:00
|
|
|
, configparser
|
|
|
|
, faker
|
|
|
|
, future
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
, python-dateutil
|
|
|
|
, pytz
|
|
|
|
, pytestCheckHook
|
|
|
|
, urllib3
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "minio";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "6.0.0";
|
2020-06-18 07:06:33 +00:00
|
|
|
disabled = !isPy3k;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "97d275ff01ddae45101eced0d9d5258f2869308c949b17d86a77b77a2a50b7b3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
configparser
|
|
|
|
future
|
|
|
|
python-dateutil
|
|
|
|
pytz
|
|
|
|
urllib3
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
checkInputs = [ faker mock nose pytestCheckHook ];
|
2020-09-25 04:45:31 +00:00
|
|
|
# example credentials aren't present
|
|
|
|
pytestFlagsArray = [ "--ignore=tests/unit/credentials_test.py" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|