1 { lib, stdenv, fetchFromGitHub, cmake
2 , mbelib, libsndfile, itpp
3 , portaudioSupport ? true, portaudio ? null
6 assert portaudioSupport -> portaudio != null;
8 stdenv.mkDerivation rec {
10 version = "2022-03-14";
12 src = fetchFromGitHub {
15 rev = "59423fa46be8b41ef0bd2f3d2b45590600be29f0";
16 sha256 = "128gvgkanvh4n5bjnzkfk419hf5fdbad94fb8d8lv67h94vfchyd";
19 nativeBuildInputs = [ cmake ];
21 mbelib libsndfile itpp
22 ] ++ lib.optionals portaudioSupport [ portaudio ];
27 description = "Digital Speech Decoder";
29 DSD is able to decode several digital voice formats from discriminator
30 tap audio and synthesize the decoded speech. Speech synthesis requires
31 mbelib, which is a separate package.
33 homepage = "https://github.com/szechyjs/dsd";
34 license = licenses.gpl2;
35 platforms = platforms.unix;
36 maintainers = with maintainers; [ andrew-d ];