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