9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
31 lines
799 B
Nix
31 lines
799 B
Nix
{ 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 ];
|
|
};
|
|
}
|