mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #125937 from fabaff/bump-minio
python3Packages.minio: 7.0.2 -> 7.0.3
This commit is contained in:
commit
c2ed2666f2
1 changed files with 27 additions and 12 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue