aboutsummaryrefslogtreecommitdiff
path: root/pkgs/cyrus-sasl-xoauth2
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-03-29 18:18:55 +0200
committerKarel Kočí <cynerd@email.cz>2023-03-29 18:20:11 +0200
commit514a5da58757df9f9418538c69bda7d5f6b6d79c (patch)
treee4c3d48663094c85f223f16cdc890fd384ec7a17 /pkgs/cyrus-sasl-xoauth2
parentf89a0ead6ff1991442bd82ac98adbc8461e55ecd (diff)
downloadnixos-personal-514a5da58757df9f9418538c69bda7d5f6b6d79c.tar.gz
nixos-personal-514a5da58757df9f9418538c69bda7d5f6b6d79c.tar.bz2
nixos-personal-514a5da58757df9f9418538c69bda7d5f6b6d79c.zip
Revert "Revert "pkgs: add cyrus-sasl-xoauth2""
This reverts commit bd45b922601eeb7b5d15f9e51ed7e855a690a281.
Diffstat (limited to 'pkgs/cyrus-sasl-xoauth2')
-rw-r--r--pkgs/cyrus-sasl-xoauth2/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/cyrus-sasl-xoauth2/default.nix b/pkgs/cyrus-sasl-xoauth2/default.nix
new file mode 100644
index 0000000..a7ec5cb
--- /dev/null
+++ b/pkgs/cyrus-sasl-xoauth2/default.nix
@@ -0,0 +1,38 @@
+{
+ 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
+ '';
+ }