From a5b7a8482adb4d8bd829a9a6e50819c2784185b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 28 Oct 2022 09:53:50 +0200 Subject: pkgs: add cyrus-sasl-xoauth2 --- pkgs/cyrus-sasl-xoauth2/default.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/cyrus-sasl-xoauth2/default.nix (limited to 'pkgs/cyrus-sasl-xoauth2') diff --git a/pkgs/cyrus-sasl-xoauth2/default.nix b/pkgs/cyrus-sasl-xoauth2/default.nix new file mode 100644 index 0000000..2bd8713 --- /dev/null +++ b/pkgs/cyrus-sasl-xoauth2/default.nix @@ -0,0 +1,31 @@ +{ lib, stdenv, fetchFromGitHub +, autoconf, automake, libtool, pkg-config +, cyrus_sasl +}: + +with lib; + +stdenv.mkDerivation rec { + pname = "cyrus-sasl-xoauth2"; + version = "0.2"; + src = fetchFromGitHub { + owner = "moriyoshi"; + repo = "cyrus-sasl-xoauth2"; + rev = "v${version}"; + sha256 = "lI8uKtVxrziQ8q/Ss+QTgg1xTObZUTAzjL3MYmtwyd8="; + }; + + nativeBuildInputs = [ + autoconf automake libtool pkg-config + ]; + buildInputs = [ + cyrus_sasl + ]; + + preConfigure = '' + ./autogen.sh + ''; + installPhase = '' + make DESTDIR=$out install + ''; +} -- cgit v1.2.3