mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
s3rs: init at 0.4.8
This commit is contained in:
parent
152987dec4
commit
df0f92daee
26
pkgs/tools/networking/s3rs/default.nix
Normal file
26
pkgs/tools/networking/s3rs/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -8347,6 +8347,10 @@ in
|
|||||||
|
|
||||||
s3cmd = python3Packages.callPackage ../tools/networking/s3cmd { };
|
s3cmd = python3Packages.callPackage ../tools/networking/s3cmd { };
|
||||||
|
|
||||||
|
s3rs = callPackage ../tools/networking/s3rs {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
s4cmd = callPackage ../tools/networking/s4cmd { };
|
s4cmd = callPackage ../tools/networking/s4cmd { };
|
||||||
|
|
||||||
s5cmd = callPackage ../tools/networking/s5cmd { };
|
s5cmd = callPackage ../tools/networking/s5cmd { };
|
||||||
|
Loading…
Reference in New Issue
Block a user