forked from mirrors/nixpkgs
openwebrx: 1.1.0 -> 1.2.0
This commit is contained in:
parent
6111acd7e6
commit
9123ed5f36
9 changed files with 157 additions and 20 deletions
|
@ -19,6 +19,7 @@ in
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
csdr
|
csdr
|
||||||
|
digiham
|
||||||
alsaUtils
|
alsaUtils
|
||||||
netcat
|
netcat
|
||||||
];
|
];
|
||||||
|
|
34
pkgs/applications/audio/codecserver/default.nix
Normal file
34
pkgs/applications/audio/codecserver/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub
|
||||||
|
, cmake, pkg-config, udev, protobuf
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "codecserver";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jketterl";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-JzaVBFl3JsFNDm4gy1qOKA9uAjUjNeMiI39l5gfH0aE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
udev
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ protobuf ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/jketterl/codecserver";
|
||||||
|
description = "Modular audio codec server";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = teams.c3d2.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,29 +1,24 @@
|
||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv, lib, fetchFromGitHub
|
||||||
, autoreconfHook, pkg-config, fftwFloat, libsamplerate
|
, cmake, pkg-config, fftwFloat, libsamplerate
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "csdr";
|
pname = "csdr";
|
||||||
version = "0.17.1";
|
version = "0.18.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jketterl";
|
owner = "jketterl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1vip5a3xgskcwba3xi66zfr986xrsch9na7my818cm8vw345y57b";
|
sha256 = "sha256-4XO3QYF0yaMNFjBHulrlZvO0/A1fFscD98QxnC6Itmk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
substituteInPlace configure.ac \
|
|
||||||
--replace -Wformat=0 ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [
|
||||||
fftwFloat
|
fftwFloat
|
||||||
libsamplerate
|
libsamplerate
|
||||||
];
|
];
|
||||||
|
@ -34,6 +29,6 @@ stdenv.mkDerivation rec {
|
||||||
description = "A simple DSP library and command-line tool for Software Defined Radio";
|
description = "A simple DSP library and command-line tool for Software Defined Radio";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ astro ];
|
maintainers = teams.c3d2.members;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
34
pkgs/applications/radio/digiham/default.nix
Normal file
34
pkgs/applications/radio/digiham/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub
|
||||||
|
, cmake, pkg-config, protobuf, icu, csdr, codecserver
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "digiham";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jketterl";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-nKNA5xAhM/lyyvFJnajWwY0hwVZhLApbDkXoUYFjlt0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
codecserver
|
||||||
|
protobuf
|
||||||
|
csdr
|
||||||
|
icu
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/jketterl/digiham";
|
||||||
|
description = "tools for decoding digital ham communication";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = teams.c3d2.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv, lib, buildPythonPackage, buildPythonApplication, fetchFromGitHub
|
{ stdenv, lib, buildPythonPackage, buildPythonApplication, fetchFromGitHub
|
||||||
, pkg-config, cmake, setuptools
|
, pkg-config, cmake, setuptools
|
||||||
, rtl-sdr, soapysdr-with-plugins, csdr, direwolf
|
, libsamplerate, fftwFloat
|
||||||
|
, rtl-sdr, soapysdr-with-plugins, csdr, pycsdr, pydigiham, direwolf, sox, wsjtx, codecserver
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -22,19 +23,19 @@ let
|
||||||
homepage = "https://github.com/jketterl/js8py";
|
homepage = "https://github.com/jketterl/js8py";
|
||||||
description = "A library to decode the output of the js8 binary of JS8Call";
|
description = "A library to decode the output of the js8 binary of JS8Call";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ astro ];
|
maintainers = teams.c3d2.members;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
owrx_connector = stdenv.mkDerivation rec {
|
owrx_connector = stdenv.mkDerivation rec {
|
||||||
pname = "owrx_connector";
|
pname = "owrx_connector";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jketterl";
|
owner = "jketterl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0gz4nf2frrkx1mpjfjpz2j919fkc99g5lxd8lhva3lgqyisvf4yj";
|
sha256 = "sha256-1H0TJ8QN3b6Lof5TWvyokhCeN+dN7ITwzRvEo2X8OWc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -43,6 +44,8 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
libsamplerate fftwFloat
|
||||||
|
csdr
|
||||||
rtl-sdr
|
rtl-sdr
|
||||||
soapysdr-with-plugins
|
soapysdr-with-plugins
|
||||||
];
|
];
|
||||||
|
@ -52,29 +55,34 @@ let
|
||||||
description = "A set of connectors that are used by OpenWebRX to interface with SDR hardware";
|
description = "A set of connectors that are used by OpenWebRX to interface with SDR hardware";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ astro ];
|
maintainers = teams.c3d2.members;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "openwebrx";
|
pname = "openwebrx";
|
||||||
version = "1.1.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jketterl";
|
owner = "jketterl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0maxs07yx235xknvkbmhi2zds3vfkd66l6wz6kspz3jzl4c0v1f9";
|
sha256 = "sha256-7gcgwa9vQT2u8PQusuXKted2Hk0K+Zk6ornSG1K/D4c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
csdr
|
csdr
|
||||||
|
pycsdr
|
||||||
|
pydigiham
|
||||||
js8py
|
js8py
|
||||||
soapysdr-with-plugins
|
soapysdr-with-plugins
|
||||||
owrx_connector
|
owrx_connector
|
||||||
direwolf
|
direwolf
|
||||||
|
sox
|
||||||
|
wsjtx
|
||||||
|
codecserver
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "csdr" "owrx" "test" ];
|
pythonImportsCheck = [ "csdr" "owrx" "test" ];
|
||||||
|
@ -87,6 +95,6 @@ buildPythonApplication rec {
|
||||||
homepage = "https://github.com/jketterl/openwebrx";
|
homepage = "https://github.com/jketterl/openwebrx";
|
||||||
description = "A simple DSP library and command-line tool for Software Defined Radio";
|
description = "A simple DSP library and command-line tool for Software Defined Radio";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ astro ];
|
maintainers = teams.c3d2.members;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
26
pkgs/development/python-modules/pycsdr/default.nix
Normal file
26
pkgs/development/python-modules/pycsdr/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, csdr }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pycsdr";
|
||||||
|
version = "0.18.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jketterl";
|
||||||
|
repo = "pycsdr";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-OyfcXCcbvOOhBUkbAba3ayPzpH5z2nJWHbR6GcrCMy8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ csdr ];
|
||||||
|
|
||||||
|
# has no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pycsdr" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/jketterl/pycsdr";
|
||||||
|
description = "bindings for the csdr library";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = lib.teams.c3d2.members;
|
||||||
|
};
|
||||||
|
}
|
31
pkgs/development/python-modules/pydigiham/default.nix
Normal file
31
pkgs/development/python-modules/pydigiham/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, python, digiham, csdr, pycsdr, codecserver }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pydigiham";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jketterl";
|
||||||
|
repo = "pydigiham";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-kiEvQl3SuDnHI4Fh97AarsszHGFt7tbWBvBRW84Qv18=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ digiham ];
|
||||||
|
buildInputs = [ codecserver pycsdr ];
|
||||||
|
# make pycsdr header files available
|
||||||
|
preBuild = ''
|
||||||
|
ln -s ${pycsdr}/include/${python.libPrefix}/pycsdr src/pycsdr
|
||||||
|
'';
|
||||||
|
|
||||||
|
# has no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "digiham" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/jketterl/pydigiham";
|
||||||
|
description = "bindings for the csdr library";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = lib.teams.c3d2.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -17067,6 +17067,8 @@ with pkgs;
|
||||||
|
|
||||||
cmrt = callPackage ../development/libraries/cmrt { };
|
cmrt = callPackage ../development/libraries/cmrt { };
|
||||||
|
|
||||||
|
codecserver = callPackage ../applications/audio/codecserver { };
|
||||||
|
|
||||||
coeurl = callPackage ../development/libraries/coeurl { };
|
coeurl = callPackage ../development/libraries/coeurl { };
|
||||||
|
|
||||||
cogl = callPackage ../development/libraries/cogl { };
|
cogl = callPackage ../development/libraries/cogl { };
|
||||||
|
@ -17196,6 +17198,8 @@ with pkgs;
|
||||||
|
|
||||||
dclib = callPackage ../development/libraries/dclib { };
|
dclib = callPackage ../development/libraries/dclib { };
|
||||||
|
|
||||||
|
digiham = callPackage ../applications/radio/digiham { };
|
||||||
|
|
||||||
dillo = callPackage ../applications/networking/browsers/dillo {
|
dillo = callPackage ../applications/networking/browsers/dillo {
|
||||||
fltk = fltk13;
|
fltk = fltk13;
|
||||||
};
|
};
|
||||||
|
@ -20199,7 +20203,7 @@ with pkgs;
|
||||||
|
|
||||||
openwebrx = callPackage ../applications/radio/openwebrx {
|
openwebrx = callPackage ../applications/radio/openwebrx {
|
||||||
inherit (python3Packages)
|
inherit (python3Packages)
|
||||||
buildPythonPackage buildPythonApplication setuptools;
|
buildPythonPackage buildPythonApplication setuptools pycsdr pydigiham;
|
||||||
};
|
};
|
||||||
|
|
||||||
optparse-bash = callPackage ../development/libraries/optparse-bash { };
|
optparse-bash = callPackage ../development/libraries/optparse-bash { };
|
||||||
|
|
|
@ -7206,6 +7206,8 @@ in {
|
||||||
|
|
||||||
pycryptodomex = callPackage ../development/python-modules/pycryptodomex { };
|
pycryptodomex = callPackage ../development/python-modules/pycryptodomex { };
|
||||||
|
|
||||||
|
pycsdr = callPackage ../development/python-modules/pycsdr { };
|
||||||
|
|
||||||
pyct = callPackage ../development/python-modules/pyct { };
|
pyct = callPackage ../development/python-modules/pyct { };
|
||||||
|
|
||||||
pyctr = callPackage ../development/python-modules/pyctr { };
|
pyctr = callPackage ../development/python-modules/pyctr { };
|
||||||
|
@ -7254,6 +7256,8 @@ in {
|
||||||
|
|
||||||
pydicom = callPackage ../development/python-modules/pydicom { };
|
pydicom = callPackage ../development/python-modules/pydicom { };
|
||||||
|
|
||||||
|
pydigiham = callPackage ../development/python-modules/pydigiham { };
|
||||||
|
|
||||||
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
|
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
|
||||||
|
|
||||||
pydmd = callPackage ../development/python-modules/pydmd { };
|
pydmd = callPackage ../development/python-modules/pydmd { };
|
||||||
|
|
Loading…
Add table
Reference in a new issue