1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/ntbtls/default.nix
2017-08-24 14:14:43 +02:00

30 lines
722 B
Nix

{ stdenv, fetchurl, libgpgerror, libgcrypt, libksba, zlib }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "ntbtls-${version}";
version = "0.1.1";
src = fetchurl {
url = "mirror://gnupg/ntbtls/ntbtls-${version}.tar.bz2";
sha256 = "0d322kgih43vr0gvy7kdj4baql1d6fa71vgpv0z63ira9pk4q9rd";
};
outputs = [ "dev" "out" ];
buildInputs = [ libgcrypt libgpgerror libksba zlib ];
postInstall = ''
moveToOutput "bin/ntbtls-config" $dev
'';
meta = {
description = "A tiny TLS 1.2 only implementation";
homepage = https://www.gnupg.org/software/ntbtls/index.html;
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ joachifm ];
};
}