nixpkgs/pkgs/tools/security/signify/default.nix

35 lines
856 B
Nix
Raw Normal View History

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 {
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
'';
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.
'';
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;
};
}