mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
awsbck: init at 0.3.2
This commit is contained in:
parent
3aa5fded93
commit
8d424b681c
34
pkgs/tools/backup/awsbck/default.nix
Normal file
34
pkgs/tools/backup/awsbck/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user