2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libsodium }:
|
2015-06-29 14:45:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "minisign";
|
2023-01-21 11:47:56 +00:00
|
|
|
version = "0.11";
|
2015-06-29 14:45:01 +00:00
|
|
|
|
2016-07-16 14:35:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "minisign";
|
|
|
|
owner = "jedisct1";
|
|
|
|
rev = version;
|
2023-01-21 11:47:56 +00:00
|
|
|
sha256 = "sha256-sczGs6du797WUkfr3JiTI/bUHp7vKEeZtJdCryFcYu8=";
|
2015-06-29 14:45:01 +00:00
|
|
|
};
|
|
|
|
|
2020-07-07 09:20:00 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2016-03-07 17:35:10 +00:00
|
|
|
buildInputs = [ libsodium ];
|
2015-06-29 14:45:01 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-06-29 14:45:01 +00:00
|
|
|
description = "Simple tool for signing files and verifying signatures";
|
|
|
|
longDescription = ''
|
|
|
|
minisign uses public key cryptography to help facilitate secure (but not
|
|
|
|
necessarily private) file transfer, e.g., of software artefacts. minisign
|
|
|
|
is similar to and compatible with OpenBSD's signify.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://jedisct1.github.io/minisign/";
|
2015-06-29 14:45:01 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ joachifm ];
|
2016-07-16 14:35:51 +00:00
|
|
|
platforms = platforms.unix;
|
2023-11-23 02:51:17 +00:00
|
|
|
mainProgram = "minisign";
|
2015-06-29 14:45:01 +00:00
|
|
|
};
|
|
|
|
}
|