Merge pull request #125937 from fabaff/bump-minio

python3Packages.minio: 7.0.2 -> 7.0.3
master
Fabian Affolter 2021-06-08 00:00:55 +02:00 committed by GitHub
commit c2ed2666f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 12 deletions

View File

@ -1,38 +1,53 @@
{ lib, buildPythonPackage, isPy3k, fetchPypi
{ lib
, buildPythonPackage
, certifi
, configparser
, faker
, fetchFromGitHub
, future
, mock
, nose
, python-dateutil
, pytz
, pytestCheckHook
, python-dateutil
, pythonOlder
, pytz
, urllib3
, certifi
}:
buildPythonPackage rec {
pname = "minio";
version = "7.0.2";
disabled = !isPy3k;
version = "7.0.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "f2f6022cfe4694d946972efef2a752f87d08cc030940faa50a640088772953c8";
src = fetchFromGitHub {
owner = "minio";
repo = "minio-py";
rev = version;
sha256 = "14symk7b3i9xzfc2wkcnqmfsvh9j3jx2ijz7dgy1xyrbjwb7yzhc";
};
propagatedBuildInputs = [
certifi
configparser
future
python-dateutil
pytz
urllib3
certifi
];
checkInputs = [ faker mock nose pytestCheckHook ];
checkInputs = [
faker
mock
nose
pytestCheckHook
];
# example credentials aren't present
pytestFlagsArray = [ "--ignore=tests/unit/credentials_test.py" ];
disabledTestPaths = [
"tests/unit/credentials_test.py"
];
pythonImportsCheck = [ "minio" ];
meta = with lib; {
description = "Simple APIs to access any Amazon S3 compatible object storage server";