diff options
Diffstat (limited to 'pkgs/development/python-modules/minio/default.nix')
-rw-r--r-- | pkgs/development/python-modules/minio/default.nix | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/minio/default.nix b/pkgs/development/python-modules/minio/default.nix index de84597491c8..51b70234dde1 100644 --- a/pkgs/development/python-modules/minio/default.nix +++ b/pkgs/development/python-modules/minio/default.nix @@ -1,36 +1,37 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, -# build-system -, setuptools + # build-system + setuptools, -# dependencies -, argon2-cffi -, certifi -, urllib3 -, pycryptodome -, typing-extensions + # dependencies + argon2-cffi, + certifi, + urllib3, + pycryptodome, + typing-extensions, -# test -, faker -, mock -, pytestCheckHook + # test + faker, + mock, + pytestCheckHook, }: buildPythonPackage rec { pname = "minio"; - version = "7.2.6"; + version = "7.2.10"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "minio"; repo = "minio-py"; rev = "refs/tags/${version}"; - hash = "sha256-zK+D2DNgh1cASdA2gstNW0ODUu7Dn6vMY01mcrdSSo0="; + hash = "sha256-vPIMYaCt2f1OXPUtaw0OXMEADHNCv4DxpueZSyJiYqA="; }; postPatch = '' @@ -38,11 +39,9 @@ buildPythonPackage rec { --replace-fail "assertEquals" "assertEqual" ''; - nativeBuildInputs = [ - setuptools - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ argon2-cffi certifi urllib3 @@ -61,9 +60,7 @@ buildPythonPackage rec { "tests/unit/credentials_test.py" ]; - pythonImportsCheck = [ - "minio" - ]; + pythonImportsCheck = [ "minio" ]; meta = with lib; { description = "Simple APIs to access any Amazon S3 compatible object storage server"; |