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

25 lines
678 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, isPy3k, fetchPypi
2019-01-31 03:38:48 +01:00
, urllib3, python-dateutil , pytz, faker, mock, nose }:
buildPythonPackage rec {
pname = "minio";
2019-05-30 08:49:51 +02:00
version = "4.0.17";
2019-01-31 03:38:48 +01:00
src = fetchPypi {
inherit pname version;
2019-05-30 08:49:51 +02:00
sha256 = "0fb1faab701008a1ff05b9b2497b6ba52d1aff963323356ed86f2771b186db6b";
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;
};
}