2021-12-06 16:07:01 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, buildPythonApplication, fetchFromGitHub
|
|
|
|
, pkg-config, cmake, setuptools
|
2022-07-14 12:49:19 +00:00
|
|
|
, libsamplerate, fftwFloat
|
|
|
|
, rtl-sdr, soapysdr-with-plugins, csdr, pycsdr, pydigiham, direwolf, sox, wsjtx, codecserver
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
js8py = buildPythonPackage rec {
|
|
|
|
pname = "js8py";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jketterl";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1j80zclg1cl5clqd00qqa16prz7cyc32bvxqz2mh540cirygq24w";
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "js8py" "test" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/jketterl/js8py";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library to decode the output of the js8 binary of JS8Call";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = licenses.gpl3Only;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = teams.c3d2.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
owrx_connector = stdenv.mkDerivation rec {
|
|
|
|
pname = "owrx_connector";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.6.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jketterl";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-1H0TJ8QN3b6Lof5TWvyokhCeN+dN7ITwzRvEo2X8OWc=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-07-14 12:49:19 +00:00
|
|
|
libsamplerate fftwFloat
|
|
|
|
csdr
|
2021-12-06 16:07:01 +00:00
|
|
|
rtl-sdr
|
|
|
|
soapysdr-with-plugins
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/jketterl/owrx_connector";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Set of connectors that are used by OpenWebRX to interface with SDR hardware";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.unix;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = teams.c3d2.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "openwebrx";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.2.2";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jketterl";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-i3Znp5Sxs/KtJazHh2v9/2P+3cEocWB5wIpF7E4pK9s=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
csdr
|
2022-07-14 12:49:19 +00:00
|
|
|
pycsdr
|
|
|
|
pydigiham
|
2021-12-06 16:07:01 +00:00
|
|
|
js8py
|
|
|
|
soapysdr-with-plugins
|
|
|
|
owrx_connector
|
|
|
|
direwolf
|
2022-07-14 12:49:19 +00:00
|
|
|
sox
|
|
|
|
wsjtx
|
|
|
|
codecserver
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "csdr" "owrx" "test" ];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
inherit js8py owrx_connector;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/jketterl/openwebrx";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple DSP library and command-line tool for Software Defined Radio";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "openwebrx";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = licenses.gpl3Only;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = teams.c3d2.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|