1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/libraries/ntbtls/default.nix

30 lines
722 B
Nix
Raw Normal View History

2017-08-24 13:08:15 +01:00
{ 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 ];
};
}