libsndfile: enable tests
This commit is contained in:
parent
40c205bbeb
commit
24a612e4e3
1 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,14 @@ stdenv.mkDerivation rec {
|
|||
# Needed on Darwin.
|
||||
NIX_CFLAGS_LINK = "-logg -lvorbis";
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
patchShebangs tests/test_wrapper.sh tests/pedantic-header-test.sh
|
||||
|
||||
substituteInPlace tests/test_wrapper.sh \
|
||||
--replace '/usr/bin/env' "$(type -P env)"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A C library for reading and writing files containing sampled sound";
|
||||
homepage = "https://libsndfile.github.io/libsndfile/";
|
||||
|
|
Loading…
Reference in a new issue