awsbck: init at 0.3.2

This commit is contained in:
beeb 2023-06-28 11:31:15 +02:00
parent 3aa5fded93
commit 8d424b681c
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, installShellFiles
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "awsbck";
version = "0.3.2";
src = fetchFromGitHub {
owner = "beeb";
repo = "awsbck";
rev = "v${version}";
hash = "sha256-4iFPHMCWKOfwqdjCLQqWHSs5SwXi+K2sQu75ecsolSs=";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "sha256-GH7ybr9ncbcvtyYCmYrG1aSA3lc+qmqivAbNVVqpMPQ=";
doCheck = false;
meta = with lib; {
description = "Backup a folder to AWS S3, once or periodically";
homepage = "https://github.com/beeb/awsbck";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ beeb ];
};
}

View File

@ -1551,6 +1551,10 @@ with pkgs;
asleap = callPackage ../tools/networking/asleap { };
awsbck = callPackage ../tools/backup/awsbck {
inherit (darwin.apple_sdk.frameworks) Security;
};
balena-cli = callPackage ../tools/admin/balena-cli { };
basez = callPackage ../tools/misc/basez { };