at 23.05-pre 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, certifi 4, configparser 5, faker 6, fetchFromGitHub 7, future 8, mock 9, nose 10, pytestCheckHook 11, python-dateutil 12, pythonOlder 13, pytz 14, urllib3 15}: 16 17buildPythonPackage rec { 18 pname = "minio"; 19 version = "7.1.12"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchFromGitHub { 25 owner = "minio"; 26 repo = "minio-py"; 27 rev = "refs/tags/${version}"; 28 hash = "sha256-9BjKoBQdkqkNK6StsiP0L3S5Dn8y53K5VghUIpIt46k="; 29 }; 30 31 propagatedBuildInputs = [ 32 certifi 33 configparser 34 future 35 python-dateutil 36 pytz 37 urllib3 38 ]; 39 40 checkInputs = [ 41 faker 42 mock 43 nose 44 pytestCheckHook 45 ]; 46 47 disabledTestPaths = [ 48 # example credentials aren't present 49 "tests/unit/credentials_test.py" 50 ]; 51 52 pythonImportsCheck = [ 53 "minio" 54 ]; 55 56 meta = with lib; { 57 description = "Simple APIs to access any Amazon S3 compatible object storage server"; 58 homepage = "https://github.com/minio/minio-py"; 59 maintainers = with maintainers; [ peterromfeldhk ]; 60 license = licenses.asl20; 61 }; 62}