libnss-mysql: add test

This commit is contained in:
netali 2023-12-02 21:07:31 +01:00
parent ac3352a65c
commit c0b2326892
No known key found for this signature in database
GPG Key ID: 9C55E636426B40A9

@ -1,4 +1,11 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, libmysqlclient }:
{ lib
, nixosTests
, stdenv
, fetchFromGitHub
, autoreconfHook
, which
, libmysqlclient
}:
stdenv.mkDerivation rec {
pname = "libnss-mysql";
@ -20,6 +27,10 @@ stdenv.mkDerivation rec {
rm -r $out/etc
'';
passthru.tests = {
inherit (nixosTests) auth-mysql;
};
meta = with lib; {
description = "MySQL module for the Solaris Nameservice Switch (NSS)";
homepage = "https://github.com/saknopper/libnss-mysql";