Unverified Commit b68ff860 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

pocketsphinx: enable doCheck (#443187)

parents 493eebd4 152f63f7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -7,8 +7,10 @@
  gitUpdater,
  graphviz,
  gst_all_1,
  perl,
  pkg-config,
  testers,
  sox,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -45,6 +47,13 @@ stdenv.mkDerivation (finalAttrs: {
    "man"
  ];

  nativeCheckInputs = [
    perl
    sox
  ];

  doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;

  passthru = {
    updateScript = gitUpdater { rev-prefix = "v"; };
    tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;