nixpkgs/pkgs/development/python-modules/minio/default.nix
2019-10-18 09:53:59 +02:00

25 lines
678 B
Nix

{ lib, buildPythonPackage, isPy3k, fetchPypi
, urllib3, python-dateutil , pytz, faker, mock, nose }:
buildPythonPackage rec {
pname = "minio";
version = "4.0.21";
src = fetchPypi {
inherit pname version;
sha256 = "35643f056b4d12e053fa7d8f40d98394ed7cc4d5d44ba53c9971e7428fd58e60";
};
disabled = !isPy3k;
checkInputs = [ faker mock nose ];
propagatedBuildInputs = [ urllib3 python-dateutil pytz ];
meta = with lib; {
description = "Simple APIs to access any Amazon S3 compatible object storage server";
homepage = https://github.com/minio/minio-py;
maintainers = with maintainers; [ peterromfeldhk ];
license = licenses.asl20;
};
}