35 lines
730 B
Nix
35 lines
730 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "awsbck";
|
|
version = "0.3.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "beeb";
|
|
repo = "awsbck";
|
|
rev = "v${version}";
|
|
hash = "sha256-Sa+CCRfhZyMmbbPggeJ+tXYdrhmDwfiirgLdTEma05M=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-kCVMsA2tu8hxoe/JGd+a4Jcok3rM/yb/UWE4xhuPLoo=";
|
|
|
|
# tests run in CI on the source repo
|
|
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 ];
|
|
mainProgram = "awsbck";
|
|
};
|
|
}
|