aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sasl/.yandex_meta/override.nix
blob: 79cd466eba8567d4dbd1a6ffb9d2a1cf44881d70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pkgs: attrs: with pkgs; with attrs; rec {
  version = "2.1.28";

  src = fetchFromGitHub {
    owner = "cyrusimap";
    repo = "cyrus-sasl";
    rev = "cyrus-sasl-${version}";
    hash = "sha256-0AiHAdcOwF7OKpIZwJ7j9E/KTmtk9qmgpvl8vkFk0oE=";
  };

  nativeBuildInputs = [ autoreconfHook ];

  buildInputs = [
    openssl
    libxcrypt
    pam
  ];

  patches = [];

  configureFlags = [
    "--disable-shared"
    "--enable-static"
    "--with-saslauthd=/run/saslauthd"
    "--with-devrandom=/dev/urandom"
    "--with-openssl=${openssl.dev}"
  ];
}