1 { lib, stdenv, rustPlatform, python3, perl, openssl, Security, fetchFromGitHub, pkg-config }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-mJ1bMfv/HY74TknpRvu8RIs1d2VlNreEVtHCtQSHQw8=";
14 cargoHash = "sha256-Q1EqEyNxWIx3wD8zuU7/MO3Qz6zsfBZbtT/IIUmJccE=";
16 nativeBuildInputs = [ python3 perl pkg-config ];
17 buildInputs = [ openssl ]
18 ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
21 description = "S3 cli client with multi configs with diffent provider";
22 homepage = "https://github.com/yanganto/s3rs";
23 license = licenses.mit;
24 maintainers = with maintainers; [ yanganto ];