1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00

python3Packages.minio: 7.0.2 -> 7.0.3

This commit is contained in:
Fabian Affolter 2021-06-06 12:46:02 +02:00
parent c177b49d39
commit d1bc2928bf

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";