Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 912 B view raw
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 12}: 13 14buildPythonPackage rec { 15 pname = "minio"; 16 version = "7.0.2"; 17 disabled = !isPy3k; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "f2f6022cfe4694d946972efef2a752f87d08cc030940faa50a640088772953c8"; 22 }; 23 24 propagatedBuildInputs = [ 25 configparser 26 future 27 python-dateutil 28 pytz 29 urllib3 30 certifi 31 ]; 32 33 checkInputs = [ faker mock nose pytestCheckHook ]; 34 # example credentials aren't present 35 pytestFlagsArray = [ "--ignore=tests/unit/credentials_test.py" ]; 36 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 }; 43}