2021-01-17 04:51:22 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libbsd, pkg-config }:
|
2018-10-25 21:08:49 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "signify";
|
2021-01-21 11:49:15 +01:00
|
|
|
version = "30";
|
2018-10-25 21:08:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aperezdc";
|
|
|
|
repo = "signify";
|
|
|
|
rev = "v${version}";
|
2021-01-21 11:49:15 +01:00
|
|
|
sha256 = "02xh6x6rszkvk3rf6zai7n3ivchmw0d8mwllpinjxc7k6sd415c3";
|
2018-10-25 21:08:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-17 04:51:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-10-25 21:08:49 +02:00
|
|
|
buildInputs = [ libbsd ];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
export PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-25 21:08:49 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://www.tedunangst.com/flak/post/signify";
|
2018-10-25 21:08:49 +02:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.rlupton20 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|