Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / minio / default.nix
blob09389f7cf1b0fe0eb117c7a39714c034000b002e
1 { lib, buildPythonPackage, isPy3k, fetchPypi
2 , configparser
3 , faker
4 , future
5 , mock
6 , nose
7 , python-dateutil
8 , pytz
9 , pytestCheckHook
10 , urllib3
11 , certifi
14 buildPythonPackage rec {
15   pname = "minio";
16   version = "6.0.2";
17   disabled = !isPy3k;
19   src = fetchPypi {
20     inherit pname version;
21     sha256 = "acae9bfae0aec1b92025bd63e18135ebb4994c84600716c5323e14cb0c9a0b03";
22   };
24   propagatedBuildInputs = [
25     configparser
26     future
27     python-dateutil
28     pytz
29     urllib3
30     certifi
31   ];
33   checkInputs = [ faker mock nose pytestCheckHook ];
34   # example credentials aren't present
35   pytestFlagsArray = [ "--ignore=tests/unit/credentials_test.py" ];
37   meta = with lib; {
38     description = "Simple APIs to access any Amazon S3 compatible object storage server";
39     homepage = "https://github.com/minio/minio-py";
40     maintainers = with maintainers; [ peterromfeldhk ];
41     license = licenses.asl20;
42   };