Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
# build-system, setuptools
# dependencies, argon2-cffi, certifi, urllib3, pycryptodome
# test, faker, mock, pytestCheckHook}:
buildPythonPackage rec { pname = "minio"; version = "7.2.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "minio"; repo = "minio-py"; rev = "refs/tags/${version}"; hash = "sha256-hZn1T75JbnJ5lIyWnX3f8r6OET/d6ZltuRr6jjYOp2o="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ argon2-cffi certifi urllib3 pycryptodome ];
nativeCheckInputs = [ faker mock pytestCheckHook ];
disabledTestPaths = [ # example credentials aren't present "tests/unit/credentials_test.py" ];
pythonImportsCheck = [ "minio" ];
meta = with lib; { description = "Simple APIs to access any Amazon S3 compatible object storage server"; homepage = "https://github.com/minio/minio-py"; changelog = "https://github.com/minio/minio-py/releases/tag/${version}"; maintainers = with maintainers; [ peterromfeldhk ]; license = licenses.asl20; };}