10 stdenv.mkDerivation rec {
11 pname = "libnss-mysql";
14 src = fetchFromGitHub {
16 repo = "libnss-mysql";
18 sha256 = "1fhsswa3h2nkhjkyjxxqnj07rlx6bmfvd8j521snimx2jba8h0d6";
21 nativeBuildInputs = [ autoreconfHook which ];
22 buildInputs = [ libmysqlclient ];
24 configureFlags = [ "--sysconfdir=/etc" ];
25 installFlags = [ "sysconfdir=$(out)/etc" ];
31 inherit (nixosTests) auth-mysql;
35 description = "MySQL module for the Solaris Nameservice Switch (NSS)";
36 homepage = "https://github.com/saknopper/libnss-mysql";
37 license = licenses.gpl2Plus;
38 platforms = platforms.linux;
39 maintainers = with maintainers; [ netali ];