nixpkgs/pkgs/development/python-modules/minio/default.nix

40 lines
784 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, isPy3k, fetchPypi
, configparser
, faker
, future
, mock
, nose
, python-dateutil
, pytz
, pytestCheckHook
, urllib3
}:
2019-01-31 02:38:48 +00:00
buildPythonPackage rec {
pname = "minio";
2020-05-09 11:01:51 +01:00
version = "5.0.10";
disabled = !isPy3k;
2019-01-31 02:38:48 +00:00
src = fetchPypi {
inherit pname version;
2020-05-09 11:01:51 +01:00
sha256 = "6ecb7637a35f806733e9d112eacfa599a58d7c3d4698fda2b5c86fff5d34b417";
2019-01-31 02:38:48 +00:00
};
propagatedBuildInputs = [
configparser
future
python-dateutil
pytz
urllib3
];
2019-01-31 02:38:48 +00:00
checkInputs = [ faker mock nose pytestCheckHook ];
2019-01-31 02:38:48 +00:00
meta = with lib; {
description = "Simple APIs to access any Amazon S3 compatible object storage server";
homepage = "https://github.com/minio/minio-py";
2019-01-31 02:38:48 +00:00
maintainers = with maintainers; [ peterromfeldhk ];
license = licenses.asl20;
};
}