mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
kestrel: init at 0.10.0
This commit is contained in:
parent
afd4752a38
commit
e5e79becfe
39
pkgs/tools/security/kestrel/default.nix
Normal file
39
pkgs/tools/security/kestrel/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "kestrel";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "finfet";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-aJKqx/PY7BanzE5AtqmKxvkULgXXqueGnDniLd9tHOg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-UnXaDdQzoYP1N2FnLjOQgiJKnCyCojXKKxVlWYZT0DE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage docs/man/kestrel.1
|
||||
installShellCompletion --bash --name ${pname} completion/kestrel.bash-completion
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "File encryption done right";
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -8233,6 +8233,8 @@ with pkgs;
|
|||
|
||||
keepalived = callPackage ../tools/networking/keepalived { };
|
||||
|
||||
kestrel = callPackage ../tools/security/kestrel { };
|
||||
|
||||
kexec-tools = callPackage ../os-specific/linux/kexec-tools { };
|
||||
|
||||
keepkey_agent = with python3Packages; toPythonApplication keepkey_agent;
|
||||
|
|
Loading…
Reference in a new issue