1 { lib, stdenv, fetchurl, gettext, libgpg-error, libgcrypt, libksba, zlib }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnupg/ntbtls/ntbtls-${version}.tar.bz2";
9 sha256 = "sha256-ZJ/nSjEdE+Q7FrJuuqkWZd22MpJbc5AlkurD7TBRnhc=";
12 outputs = [ "dev" "out" ];
14 buildInputs = [ libgcrypt libgpg-error libksba zlib ]
15 ++ lib.optional stdenv.isDarwin gettext;
18 moveToOutput "bin/ntbtls-config" $dev
22 description = "A tiny TLS 1.2 only implementation";
23 homepage = "https://www.gnupg.org/software/ntbtls/";
24 license = licenses.gpl3Plus;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ joachifm ];