Files
nixpkgs/pkgs/by-name/op/openwebrx/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

128 lines
2.4 KiB
Nix

{
stdenv,
lib,
python3Packages,
fetchFromGitHub,
pkg-config,
cmake,
libsamplerate,
fftwFloat,
rtl-sdr,
soapysdr-with-plugins,
csdr,
direwolf,
sox,
wsjtx,
codecserver,
}:
let
js8py = python3Packages.buildPythonPackage rec {
pname = "js8py";
version = "0.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "jketterl";
repo = "js8py";
tag = version;
hash = "sha256-nAj8fI4MkAKr+LjvJQbz7Px8TVAYA9AwZYWy8Cj7AMk=";
};
pythonImportsCheck = [
"js8py"
"test"
];
meta = {
homepage = "https://github.com/jketterl/js8py";
description = "Library to decode the output of the js8 binary of JS8Call";
license = lib.licenses.gpl3Only;
teams = with lib.teams; [ c3d2 ];
};
};
owrx_connector = stdenv.mkDerivation rec {
pname = "owrx_connector";
version = "0.6.0";
src = fetchFromGitHub {
owner = "jketterl";
repo = "owrx_connector";
tag = version;
hash = "sha256-1H0TJ8QN3b6Lof5TWvyokhCeN+dN7ITwzRvEo2X8OWc=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libsamplerate
fftwFloat
csdr
rtl-sdr
soapysdr-with-plugins
];
meta = {
homepage = "https://github.com/jketterl/owrx_connector";
description = "Set of connectors that are used by OpenWebRX to interface with SDR hardware";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
teams = with lib.teams; [ c3d2 ];
};
};
in
python3Packages.buildPythonApplication rec {
pname = "openwebrx";
version = "1.2.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "jketterl";
repo = "openwebrx";
tag = version;
hash = "sha256-i3Znp5Sxs/KtJazHh2v9/2P+3cEocWB5wIpF7E4pK9s=";
};
dependencies =
with python3Packages;
[
setuptools
csdr
pycsdr
pydigiham
]
++ [
js8py
soapysdr-with-plugins
owrx_connector
direwolf
sox
wsjtx
codecserver
];
pythonImportsCheck = [
"csdr"
"owrx"
"test"
];
passthru = {
inherit js8py owrx_connector;
};
meta = {
homepage = "https://github.com/jketterl/openwebrx";
description = "Simple DSP library and command-line tool for Software Defined Radio";
mainProgram = "openwebrx";
license = lib.licenses.gpl3Only;
teams = with lib.teams; [ c3d2 ];
};
}