Commit 2707f679 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files
parent 49873858
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
{ config, lib, stdenv, fetchurl, zlib, lzo, libtasn1, nettle, pkg-config, lzip
, perl, gmp, autoconf, automake, libidn2, libiconv
, fetchpatch, texinfo
, texinfo
, unbound, dns-root-data, gettext, util-linux
, cxxBindings ? !stdenv.hostPlatform.isStatic # tries to link libstdc++.so
, tpmSupport ? false, trousers, which, nettools, libunistring
@@ -35,11 +35,11 @@ in

stdenv.mkDerivation rec {
  pname = "gnutls";
  version = "3.8.1";
  version = "3.8.2";

  src = fetchurl {
    url = "mirror://gnupg/gnutls/v${lib.versions.majorMinor version}/gnutls-${version}.tar.xz";
    hash = "sha256-uoueFa4gq6iPRGYZePW1hjSUMW/n5yLt6dBp/mKUgpw=";
    hash = "sha256-52XlAW/6m53SQ+NjoEYNV3B0RE7iSRJn2y6WycKt73c=";
  };

  outputs = [ "bin" "dev" "out" "man" "devdoc" ];
@@ -48,12 +48,6 @@ stdenv.mkDerivation rec {
  outputDoc  = "devdoc";

  patches = [
    (fetchpatch { #TODO: when updating drop this patch and texinfo
      name = "GNUTLS_NO_EXTENSIONS.patch";
      url = "https://gitlab.com/gnutls/gnutls/-/commit/abfa8634db940115a11a07596ce53c8f9c4f87d2.diff";
      hash = "sha256-3M5WdNoVx9gUwTUPgu/sXmsaNg+j5d6liXs0UZz8fGU=";
    })

    ./nix-ssl-cert-file.patch
  ];