depot/third_party/nixpkgs/pkgs/applications/misc/faircamp/test-wav.nix

15 lines
281 B
Nix
Raw Normal View History

{ stdenv
, faircamp
, ffmpeg
}:
stdenv.mkDerivation {
name = "faircamp-test-wav";
meta.timeout = 60;
buildCommand = ''
mkdir album
${ffmpeg}/bin/ffmpeg -f lavfi -i "sine=frequency=440:duration=1" album/track.wav
${faircamp}/bin/faircamp --build-dir $out
'';
}