diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-05-30 05:17:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 05:17:49 +0200 |
commit | b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89 (patch) | |
tree | 144042136bfbb9650d8bccc9f331e1ed0633d9c0 /pkgs/tools/networking | |
parent | 4552bc33049c63c69118733ed4dd3ebb8c7f523c (diff) | |
parent | df0f92daeed03f6ffe2a6d8d3ff59393eaad0229 (diff) | |
download | nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.tar nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.tar.gz nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.tar.bz2 nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.tar.lz nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.tar.xz nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.tar.zst nixlib-b3498236fdb615a6fe30f8f96a88dfcf6f6e1c89.zip |
Merge pull request #124884 from yanganto/s3rs
s3rs: init at 0.4.8
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/s3rs/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/s3rs/default.nix b/pkgs/tools/networking/s3rs/default.nix new file mode 100644 index 000000000000..2e707ed99163 --- /dev/null +++ b/pkgs/tools/networking/s3rs/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, rustPlatform, python3, perl, openssl, Security, fetchFromGitHub, pkg-config }: + +rustPlatform.buildRustPackage rec { + pname = "s3rs"; + version = "0.4.8"; + + src = fetchFromGitHub { + owner = "yanganto"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-lYIE5yR7UNUjpqfwT6R0C0ninNvVZdatYd/n+yyGsms="; + }; + + cargoSha256 = "sha256-vCTJ7TClvuIP9IoqXwNFH7/u9jXt/Ue/Dhefx5rCgmA="; + + nativeBuildInputs = [ python3 perl pkg-config ]; + buildInputs = [ openssl ] + ++ lib.optionals stdenv.isDarwin [ Security ]; + + meta = with lib; { + description = "A s3 cli client with multi configs with diffent provider"; + homepage = "https://github.com/yanganto/s3rs"; + license = licenses.mit; + maintainers = with maintainers; [ yanganto ]; + }; +} |