mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{ lib, stdenv, python38Packages, fetchPypi
|
|
, fftw, alsaLib, pulseaudio, wxPython_4_0 }:
|
|
|
|
python38Packages.buildPythonApplication rec {
|
|
pname = "quisk";
|
|
version = "4.1.73";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "37dfb02a32341025c086b07d66ddf1608d4ee1ae1c62fb51f87c97662f13e0d8";
|
|
};
|
|
|
|
buildInputs = [ fftw alsaLib pulseaudio ];
|
|
|
|
propagatedBuildInputs = [ wxPython_4_0 ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A SDR transceiver for radios that use the Hermes protocol";
|
|
longDescription = ''
|
|
QUISK is a Software Defined Radio (SDR) transceiver. You supply radio
|
|
hardware that converts signals at the antenna to complex (I/Q) data at an
|
|
intermediate frequency (IF). Data can come from a sound card, Ethernet or
|
|
USB. Quisk then filters and demodulates the data and sends the audio to
|
|
your speakers or headphones. For transmit, Quisk takes the microphone
|
|
signal, converts it to I/Q data and sends it to the hardware.
|
|
|
|
Quisk can be used with SoftRock, Hermes Lite 2, HiQSDR, Odyssey and many
|
|
radios that use the Hermes protocol. Quisk can connect to digital
|
|
programs like Fldigi and WSJT-X. Quisk can be connected to other software
|
|
like N1MM+ and software that uses Hamlib.
|
|
'';
|
|
license = licenses.gpl2Plus;
|
|
homepage = "https://james.ahlstrom.name/quisk/";
|
|
maintainers = with maintainers; [ pulsation ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|