tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openwebrx: init at 1.1.0
Astro
4 years ago
5ab365c2
a3b50485
+97
2 changed files
expand all
collapse all
unified
split
pkgs
applications
radio
openwebrx
default.nix
top-level
all-packages.nix
+92
pkgs/applications/radio/openwebrx/default.nix
···
1
1
+
{ stdenv, lib, buildPythonPackage, buildPythonApplication, fetchFromGitHub
2
2
+
, pkg-config, cmake, setuptools
3
3
+
, rtl-sdr, soapysdr-with-plugins, csdr, direwolf
4
4
+
}:
5
5
+
6
6
+
let
7
7
+
8
8
+
js8py = buildPythonPackage rec {
9
9
+
pname = "js8py";
10
10
+
version = "0.1.1";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "jketterl";
14
14
+
repo = pname;
15
15
+
rev = version;
16
16
+
sha256 = "1j80zclg1cl5clqd00qqa16prz7cyc32bvxqz2mh540cirygq24w";
17
17
+
};
18
18
+
19
19
+
pythonImportsCheck = [ "js8py" "test" ];
20
20
+
21
21
+
meta = with lib; {
22
22
+
homepage = "https://github.com/jketterl/js8py";
23
23
+
description = "A library to decode the output of the js8 binary of JS8Call";
24
24
+
license = licenses.gpl3Only;
25
25
+
maintainers = with maintainers; [ astro ];
26
26
+
};
27
27
+
};
28
28
+
29
29
+
owrx_connector = stdenv.mkDerivation rec {
30
30
+
pname = "owrx_connector";
31
31
+
version = "0.5.0";
32
32
+
33
33
+
src = fetchFromGitHub {
34
34
+
owner = "jketterl";
35
35
+
repo = pname;
36
36
+
rev = version;
37
37
+
sha256 = "0gz4nf2frrkx1mpjfjpz2j919fkc99g5lxd8lhva3lgqyisvf4yj";
38
38
+
};
39
39
+
40
40
+
nativeBuildInputs = [
41
41
+
cmake
42
42
+
pkg-config
43
43
+
];
44
44
+
45
45
+
buildInputs = [
46
46
+
rtl-sdr
47
47
+
soapysdr-with-plugins
48
48
+
];
49
49
+
50
50
+
meta = with lib; {
51
51
+
homepage = "https://github.com/jketterl/owrx_connector";
52
52
+
description = "A set of connectors that are used by OpenWebRX to interface with SDR hardware";
53
53
+
license = licenses.gpl3Only;
54
54
+
platforms = platforms.unix;
55
55
+
maintainers = with maintainers; [ astro ];
56
56
+
};
57
57
+
};
58
58
+
59
59
+
in
60
60
+
buildPythonApplication rec {
61
61
+
pname = "openwebrx";
62
62
+
version = "1.1.0";
63
63
+
64
64
+
src = fetchFromGitHub {
65
65
+
owner = "jketterl";
66
66
+
repo = pname;
67
67
+
rev = version;
68
68
+
sha256 = "0maxs07yx235xknvkbmhi2zds3vfkd66l6wz6kspz3jzl4c0v1f9";
69
69
+
};
70
70
+
71
71
+
propagatedBuildInputs = [
72
72
+
setuptools
73
73
+
csdr
74
74
+
js8py
75
75
+
soapysdr-with-plugins
76
76
+
owrx_connector
77
77
+
direwolf
78
78
+
];
79
79
+
80
80
+
pythonImportsCheck = [ "csdr" "owrx" "test" ];
81
81
+
82
82
+
passthru = {
83
83
+
inherit js8py owrx_connector;
84
84
+
};
85
85
+
86
86
+
meta = with lib; {
87
87
+
homepage = "https://github.com/jketterl/openwebrx";
88
88
+
description = "A simple DSP library and command-line tool for Software Defined Radio";
89
89
+
license = licenses.gpl3Only;
90
90
+
maintainers = with maintainers; [ astro ];
91
91
+
};
92
92
+
}
+5
pkgs/top-level/all-packages.nix
···
18895
18895
18896
18896
openrct2 = callPackage ../games/openrct2 { };
18897
18897
18898
18898
+
openwebrx = callPackage ../applications/radio/openwebrx {
18899
18899
+
inherit (python3Packages)
18900
18900
+
buildPythonPackage buildPythonApplication setuptools;
18901
18901
+
};
18902
18902
+
18898
18903
optparse-bash = callPackage ../development/libraries/optparse-bash { };
18899
18904
18900
18905
orcania = callPackage ../development/libraries/orcania { };