1 { lib, stdenv, fetchFromGitHub, libbsd, pkg-config }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-y2A+Szt451CmaWOc2Y2vBSwSgziJsSnTjNClbdyxG2U=";
16 nativeBuildInputs = [ pkg-config ];
17 buildInputs = [ libbsd ];
20 substituteInPlace Makefile --replace "shell pkg-config" "shell $PKG_CONFIG"
23 installFlags = [ "PREFIX=$(out)" ];
26 description = "OpenBSD signing tool";
27 mainProgram = "signify";
29 OpenBSDs signing tool, which uses the Ed25519 public key signature system
30 for fast signing and verification of messages using small public keys.
32 homepage = "https://www.tedunangst.com/flak/post/signify";
33 license = licenses.isc;
34 maintainers = [ maintainers.rlupton20 ];
35 platforms = platforms.linux;