Merge pull request #240312 from beeb/awsbck

awsbck: init at 0.3.2
This commit is contained in:
Pol Dellaiera 2023-06-28 21:41:53 +02:00 committed by GitHub
commit 1aa93d3d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 0 deletions

View file

@ -1943,6 +1943,12 @@
github = "beardhatcode";
githubId = 662538;
};
beeb = {
name = "Valentin Bersier";
email = "hi@beeb.li";
github = "beeb";
githubId = 703631;
};
beezow = {
name = "beezow";
email = "zbeezow@gmail.com";

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 { };