2019-06-16 20:59:06 +01:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi
|
2020-06-03 07:07:51 +01:00
|
|
|
, configparser
|
|
|
|
, faker
|
|
|
|
, future
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
, python-dateutil
|
|
|
|
, pytz
|
|
|
|
, pytestCheckHook
|
|
|
|
, urllib3
|
2021-04-04 19:25:57 +01:00
|
|
|
, certifi
|
2020-06-03 07:07:51 +01:00
|
|
|
}:
|
2019-01-31 02:38:48 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "minio";
|
2021-03-24 09:28:18 +00:00
|
|
|
version = "7.0.2";
|
2020-06-03 07:07:51 +01:00
|
|
|
disabled = !isPy3k;
|
2019-01-31 02:38:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:18 +00:00
|
|
|
sha256 = "f2f6022cfe4694d946972efef2a752f87d08cc030940faa50a640088772953c8";
|
2019-01-31 02:38:48 +00:00
|
|
|
};
|
|
|
|
|
2020-06-03 07:07:51 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
configparser
|
|
|
|
future
|
|
|
|
python-dateutil
|
|
|
|
pytz
|
|
|
|
urllib3
|
2021-04-04 19:25:57 +01:00
|
|
|
certifi
|
2020-06-03 07:07:51 +01:00
|
|
|
];
|
2019-01-31 02:38:48 +00:00
|
|
|
|
2020-06-03 07:07:51 +01:00
|
|
|
checkInputs = [ faker mock nose pytestCheckHook ];
|
2020-09-08 21:57:50 +01:00
|
|
|
# example credentials aren't present
|
|
|
|
pytestFlagsArray = [ "--ignore=tests/unit/credentials_test.py" ];
|
2019-01-31 02:38:48 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple APIs to access any Amazon S3 compatible object storage server";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/minio/minio-py";
|
2019-01-31 02:38:48 +00:00
|
|
|
maintainers = with maintainers; [ peterromfeldhk ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|