Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
957 B
Nix
42 lines
957 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
installShellFiles,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kestrel";
|
|
version = "1.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "finfet";
|
|
repo = "kestrel";
|
|
rev = "v${version}";
|
|
hash = "sha256-bKQBOk9yUqgnufRyyqXatsRHpesbM49rAkz0dD5XE80=";
|
|
};
|
|
|
|
cargoHash = "sha256-cwEHxbRFdOLmQy0FS4U6g785szMWISe6vkXvtj4VwPs=";
|
|
|
|
nativeBuildInputs = [
|
|
installShellFiles
|
|
];
|
|
|
|
postInstall = ''
|
|
installManPage docs/man/kestrel.1
|
|
installShellCompletion --bash --name kestrel completion/kestrel.bash-completion
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "File encryption done right";
|
|
mainProgram = "kestrel";
|
|
longDescription = "
|
|
Kestrel is a data-at-rest file encryption program
|
|
that lets you encrypt files to anyone with a public key.
|
|
";
|
|
homepage = "https://getkestrel.com";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ zendo ];
|
|
};
|
|
}
|