mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
commit
e56d79abcb
@ -12827,6 +12827,12 @@
|
||||
githubId = 5236428;
|
||||
name = "Gaëtan André";
|
||||
};
|
||||
rvnstn = {
|
||||
email = "github@rvnstn.de";
|
||||
github = "rvnstn";
|
||||
githubId = 2364742;
|
||||
name = "Tobias Ravenstein";
|
||||
};
|
||||
rvolosatovs = {
|
||||
email = "rvolosatovs@riseup.net";
|
||||
github = "rvolosatovs";
|
||||
|
55
pkgs/tools/security/enc/default.nix
Normal file
55
pkgs/tools/security/enc/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "enc";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "life4";
|
||||
repo = "enc";
|
||||
rev = "v${version}";
|
||||
sha256 = "Tt+J/MnYJNewSl5UeewS0b47NGW2yzfcVHA5+9UQWSs=";
|
||||
};
|
||||
vendorSha256 = "lB6GkE6prfBG7OCOJ1gm23Ee5+nAgmJg8I9Nqe1fsRw=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
subPackages = ".";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/life4/enc/version.GitCommit=${version}"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ git ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd enc \
|
||||
--bash <($out/bin/enc completion bash) \
|
||||
--fish <($out/bin/enc completion fish) \
|
||||
--zsh <($out/bin/enc completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/life4/enc";
|
||||
changelog = "https://github.com/life4/enc/releases/tag/v${version}";
|
||||
description = "A modern and friendly alternative to GnuPG";
|
||||
longDescription = ''
|
||||
Enc is a CLI tool for encryption, a modern and friendly alternative to GnuPG.
|
||||
It is easy to use, secure by default and can encrypt and decrypt files using password or encryption keys,
|
||||
manage and download keys, and sign data.
|
||||
Our goal was to make encryption available to all engineers without the need to learn a lot of new words, concepts,
|
||||
and commands. It is the most beginner-friendly CLI tool for encryption, and keeping it that way is our top priority.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rvnstn ];
|
||||
};
|
||||
}
|
@ -7040,6 +7040,8 @@ with pkgs;
|
||||
boost = boost172;
|
||||
};
|
||||
|
||||
enc = callPackage ../tools/security/enc { };
|
||||
|
||||
endlessh = callPackage ../servers/endlessh { };
|
||||
|
||||
endlessh-go = callPackage ../servers/endlessh-go { };
|
||||
|
Loading…
Reference in New Issue
Block a user