2022-10-14 18:48:25 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "coldsnap";
|
2024-08-02 13:05:03 +00:00
|
|
|
version = "0.6.2";
|
2022-10-14 18:48:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "awslabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-08-02 13:05:03 +00:00
|
|
|
hash = "sha256-NYMcCLFhX7eD6GXMP9NZDXDnXDDVbcvVwhUAqmwX+ig=";
|
2022-10-14 18:48:25 +00:00
|
|
|
};
|
2024-08-02 13:05:03 +00:00
|
|
|
cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU=";
|
2022-10-14 18:48:25 +00:00
|
|
|
|
2024-11-10 05:53:47 +00:00
|
|
|
buildInputs = [ openssl ];
|
2022-10-14 18:48:25 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/awslabs/coldsnap";
|
|
|
|
description = "Command line interface for Amazon EBS snapshots";
|
|
|
|
changelog = "https://github.com/awslabs/coldsnap/blob/${src.rev}/CHANGELOG.md";
|
2023-06-28 01:53:39 +00:00
|
|
|
license = licenses.asl20;
|
2022-10-24 14:25:55 +00:00
|
|
|
maintainers = teams.determinatesystems.members;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "coldsnap";
|
2022-10-14 18:48:25 +00:00
|
|
|
};
|
|
|
|
}
|