dsd: init at 2018-07-01
This commit is contained in:
parent
f856cb8a9e
commit
6f1acf82c0
44
pkgs/applications/radio/dsd/default.nix
Normal file
44
pkgs/applications/radio/dsd/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake
|
||||||
|
, mbelib, libsndfile, itpp
|
||||||
|
, portaudioSupport ? true, portaudio ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert portaudioSupport -> portaudio != null;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "dsd";
|
||||||
|
version = "2018-07-01";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "szechyjs";
|
||||||
|
repo = "dsd";
|
||||||
|
rev = "f175834e45a1a190171dff4597165b27d6b0157b";
|
||||||
|
sha256 = "0w4r13sxvjwacdwxr326zr6p77a8p6ny0g6im574jliw5j3shlhr";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [
|
||||||
|
mbelib libsndfile itpp
|
||||||
|
] ++ stdenv.lib.optionals portaudioSupport [ portaudio ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
preCheck = ''
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
|
||||||
|
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Digital Speech Decoder";
|
||||||
|
longDescription = ''
|
||||||
|
DSD is able to decode several digital voice formats from discriminator
|
||||||
|
tap audio and synthesize the decoded speech. Speech synthesis requires
|
||||||
|
mbelib, which is a separate package.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/szechyjs/dsd;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ andrew-d ];
|
||||||
|
};
|
||||||
|
}
|
@ -16836,6 +16836,8 @@ in
|
|||||||
|
|
||||||
dropwatch = callPackage ../os-specific/linux/dropwatch { };
|
dropwatch = callPackage ../os-specific/linux/dropwatch { };
|
||||||
|
|
||||||
|
dsd = callPackage ../applications/radio/dsd { };
|
||||||
|
|
||||||
dstat = callPackage ../os-specific/linux/dstat { };
|
dstat = callPackage ../os-specific/linux/dstat { };
|
||||||
|
|
||||||
# unstable until the first 1.x release
|
# unstable until the first 1.x release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user