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

25 lines
686 B
Nix
Raw Normal View History

2019-01-31 03:38:48 +01:00
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
, urllib3, python-dateutil , pytz, faker, mock, nose }:
buildPythonPackage rec {
pname = "minio";
2019-04-16 19:15:37 +02:00
version = "4.0.14";
2019-01-31 03:38:48 +01:00
src = fetchPypi {
inherit pname version;
2019-04-16 19:15:37 +02:00
sha256 = "72c8ab7b1c25f875273e66762982816af8ada2ced88b6cd991e979f479c34875";
2019-01-31 03:38:48 +01:00
};
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;
};
}