Unverified Commit 464b6243 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #199985 from wentasah/cyrus-sasl-xoauth2

cyrus-sasl-xoauth2: init at 0.2
parents a5dc5153 c8faadaf
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, cyrus_sasl }:

stdenv.mkDerivation rec {
  pname = "cyrus-sasl-xoauth2";
  version = "0.2";

  src = fetchFromGitHub {
    owner = "moriyoshi";
    repo = "cyrus-sasl-xoauth2";
    rev = "v${version}";
    sha256 = "sha256-lI8uKtVxrziQ8q/Ss+QTgg1xTObZUTAzjL3MYmtwyd8=";
  };

  nativeBuildInputs = [ autoconf libtool automake ];

  buildInputs = [ cyrus_sasl ];

  preConfigure = "./autogen.sh";

  configureFlags = [
    "--with-cyrus-sasl=${placeholder "out"}"
  ];

  meta = with lib; {
    homepage = "https://github.com/moriyoshi/cyrus-sasl-xoauth2";
    description = "XOAUTH2 mechanism plugin for cyrus-sasl";
    platforms = platforms.unix;
    license = licenses.mit;
    maintainers = with lib.maintainers; [ wentasah ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -20074,6 +20074,8 @@ with pkgs;
    libkrb5 = if stdenv.isFreeBSD then heimdal else libkrb5;
  };
  cyrus-sasl-xoauth2 = callPackage ../development/libraries/cyrus-sasl-xoauth2 { };
  # Make bdb5 the default as it is the last release under the custom
  # bsd-like license
  db = db5;