Commit fd607d72 authored by Weijia Wang's avatar Weijia Wang
Browse files

swlay: actually enable tests

parent 2df0ae94
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -11,11 +11,18 @@ stdenv.mkDerivation rec {
    hash = "sha256-xKQGZO5hNzMg+JYKeqOBsu73YO+ucBEOcNhG8iSNYvA=";
  };

  checkInputs = [ cunit ];
  doCheck = true;
  strictDeps = true;

  nativeBuildInputs = [ cmake ];

  cmakeFlags = [
    (lib.cmakeBool "WSLAY_TESTS" true)
  ];

  doCheck = true;

  checkInputs = [ cunit ];

  meta = with lib; {
    homepage = "https://tatsuhiro-t.github.io/wslay/";
    description = "The WebSocket library in C";