1 { lib, mkDerivation, fetchurl, libpulseaudio, alsa-lib , pkg-config, qtbase }:
7 url = "mirror://sourceforge/unixcw/unixcw_${version}.orig.tar.gz";
8 sha256 ="5f3aacd8a26e16e6eff437c7ae1e9b389956fb137eeb3de24670ce05de479e7a";
11 ./remove-use-of-dlopen.patch
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ libpulseaudio alsa-lib qtbase ];
15 CFLAGS ="-lasound -lpulse-simple";
18 description = "sound characters as Morse code on the soundcard or console speaker";
20 unixcw is a project providing libcw library and a set of programs
21 using the library: cw, cwgen, cwcp and xcwcp.
22 The programs are intended for people who want to learn receiving
23 and sending Morse code.
24 unixcw is developed and tested primarily on GNU/Linux system.
26 cw reads characters from an input file, or from standard input,
27 and sounds each valid character as Morse code on either the system sound card,
28 or the system console speaker.
29 After it sounds a character, cw echoes it to standard output.
30 The input stream can contain embedded command strings.
31 These change the parameters used when sounding the Morse code.
32 cw reports any errors in embedded commands
34 homepage = "https://unixcw.sourceforge.net";
35 maintainers = [ maintainers.mafo ];
36 license = licenses.gpl2;
37 platforms=platforms.linux;