ca9932abe5
I am deeply saddened at the fact that I need to do this. I have no interest in re-litigating everything that has happened over the past weeks and months, but I want to make my position(s) extremely clear: The thought of any of my work contributing to someone's death by drone makes me feel physically ill. Recent communications from senior members of the NixOS community have made it clear that leadership is unaware or uninterested in the basics of how to run and moderate a community in a way that is resilient to bad actors. The recent post by @edolstra is tone-deaf and gives me no confidence that the Nix/NixOS community is a place that I want to remain involved in going forward. I am thus choosing to remove myself from such a community. I also hereby resign from the ACME team. See also: #307033 Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, cmake
|
|
, mbelib, libsndfile, itpp
|
|
, portaudioSupport ? true, portaudio ? null
|
|
}:
|
|
|
|
assert portaudioSupport -> portaudio != null;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dsd";
|
|
version = "2022-03-14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "szechyjs";
|
|
repo = "dsd";
|
|
rev = "59423fa46be8b41ef0bd2f3d2b45590600be29f0";
|
|
sha256 = "128gvgkanvh4n5bjnzkfk419hf5fdbad94fb8d8lv67h94vfchyd";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
mbelib libsndfile itpp
|
|
] ++ lib.optionals portaudioSupport [ portaudio ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with 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; [ ];
|
|
mainProgram = "dsd";
|
|
};
|
|
}
|