2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libbsd, pkg-config }:
|
2018-10-25 19:08:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "signify";
|
2021-01-21 10:49:15 +00:00
|
|
|
version = "30";
|
2018-10-25 19:08:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aperezdc";
|
|
|
|
repo = "signify";
|
|
|
|
rev = "v${version}";
|
2021-01-21 10:49:15 +00:00
|
|
|
sha256 = "02xh6x6rszkvk3rf6zai7n3ivchmw0d8mwllpinjxc7k6sd415c3";
|
2018-10-25 19:08:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-10-25 19:08:49 +00:00
|
|
|
buildInputs = [ libbsd ];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
export PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-25 19:08:49 +00:00
|
|
|
description = "OpenBSD signing tool";
|
|
|
|
longDescription = ''
|
|
|
|
OpenBSDs signing tool, which uses the Ed25519 public key signature system
|
|
|
|
for fast signing and verification of messages using small public keys.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.tedunangst.com/flak/post/signify";
|
2018-10-25 19:08:49 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.rlupton20 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|