nixpkgs/pkgs/tools/admin/coldsnap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
794 B
Nix
Raw Normal View History

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";
license = licenses.asl20;
maintainers = teams.determinatesystems.members;
2024-02-11 02:19:15 +00:00
mainProgram = "coldsnap";
2022-10-14 18:48:25 +00:00
};
}