12 stdenv.mkDerivation rec {
13 pname = "openvpn-auth-ldap";
16 src = fetchFromGitHub {
18 repo = "openvpn-auth-ldap";
19 rev = "auth-ldap-${version}";
20 sha256 = "1j30sygj8nm8wjqxzpb7pfzr3dxqxggswzxd7z5yk7y04c0yp1hb";
24 ./auth-ldap-fix-conftest.patch
42 "--with-objc-runtime=GNU"
43 "--with-openvpn=${openvpn}/include"
44 "--libdir=$(out)/lib/openvpn"
50 mkdir -p $out/lib/openvpn $out/share/doc/openvpn/examples
51 cp README.md $out/share/doc/openvpn/
52 cp auth-ldap.conf $out/share/doc/openvpn/examples/
56 description = "LDAP authentication plugin for OpenVPN";
57 homepage = "https://github.com/threerings/openvpn-auth-ldap";
62 maintainers = [ maintainers.benley ];
63 platforms = platforms.unix;