2017-08-24 14:08:15 +02:00
|
|
|
{ stdenv, fetchurl, libgpgerror, libgcrypt, libksba, zlib }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ntbtls-${version}";
|
2018-03-11 01:33:41 +01:00
|
|
|
version = "0.1.2";
|
2017-08-24 14:08:15 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnupg/ntbtls/ntbtls-${version}.tar.bz2";
|
2018-03-11 01:33:41 +01:00
|
|
|
sha256 = "1rywgdyj7prmwdi5r1rpglakqpnjskgln1mqksqm28qcwn2dnh42";
|
2017-08-24 14:08:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
|
|
|
|
buildInputs = [ libgcrypt libgpgerror libksba zlib ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
moveToOutput "bin/ntbtls-config" $dev
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tiny TLS 1.2 only implementation";
|
2018-03-11 01:33:41 +01:00
|
|
|
homepage = "https://www.gnupg.org/software/ntbtls/";
|
2017-08-24 14:08:15 +02:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ joachifm ];
|
|
|
|
};
|
|
|
|
}
|