python3Packages.minio: fix build, fix tests
This commit is contained in:
parent
fd19d900d3
commit
903e0ecd2f
@ -1,19 +1,34 @@
|
|||||||
{ lib, buildPythonPackage, isPy3k, fetchPypi
|
{ lib, buildPythonPackage, isPy3k, fetchPypi
|
||||||
, urllib3, future, python-dateutil , pytz, faker, mock, nose }:
|
, configparser
|
||||||
|
, faker
|
||||||
|
, future
|
||||||
|
, mock
|
||||||
|
, nose
|
||||||
|
, python-dateutil
|
||||||
|
, pytz
|
||||||
|
, pytestCheckHook
|
||||||
|
, urllib3
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "minio";
|
pname = "minio";
|
||||||
version = "5.0.10";
|
version = "5.0.10";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6ecb7637a35f806733e9d112eacfa599a58d7c3d4698fda2b5c86fff5d34b417";
|
sha256 = "6ecb7637a35f806733e9d112eacfa599a58d7c3d4698fda2b5c86fff5d34b417";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = !isPy3k;
|
propagatedBuildInputs = [
|
||||||
|
configparser
|
||||||
|
future
|
||||||
|
python-dateutil
|
||||||
|
pytz
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ faker mock nose ];
|
checkInputs = [ faker mock nose pytestCheckHook ];
|
||||||
propagatedBuildInputs = [ urllib3 python-dateutil pytz future ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple APIs to access any Amazon S3 compatible object storage server";
|
description = "Simple APIs to access any Amazon S3 compatible object storage server";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user