1 { lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, cyrus_sasl }:
3 stdenv.mkDerivation rec {
4 pname = "cyrus-sasl-xoauth2";
7 src = fetchFromGitHub {
9 repo = "cyrus-sasl-xoauth2";
11 sha256 = "sha256-lI8uKtVxrziQ8q/Ss+QTgg1xTObZUTAzjL3MYmtwyd8=";
14 nativeBuildInputs = [ autoconf libtool automake ];
16 buildInputs = [ cyrus_sasl ];
18 preConfigure = "./autogen.sh";
21 "--with-cyrus-sasl=${placeholder "out"}"
25 homepage = "https://github.com/moriyoshi/cyrus-sasl-xoauth2";
26 description = "XOAUTH2 mechanism plugin for cyrus-sasl";
27 platforms = platforms.unix;
28 license = licenses.mit;
29 maintainers = with lib.maintainers; [ wentasah ];