blob: e9e693fcf51180c29a65fdcd2b5dc15c49147c5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
lib,
python3,
fetchFromGitHub,
fetchpatch,
qt6,
}:
python3.pkgs.buildPythonApplication rec {
pname = "nanovna-saver";
version = "0.6.0";
src = fetchFromGitHub {
owner = "NanoVNA-Saver";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2vDjAdEL8eNje5bm/1m+Fdi+PCGxpXwpxe2KvlLYB58=";
};
nativeBuildInputs = [
qt6.wrapQtAppsHook
qt6.qtbase
];
propagatedBuildInputs = with python3.pkgs; [
cython
scipy
pyqt6
pyserial
numpy
setuptools
setuptools-scm
];
doCheck = false;
dontWrapGApps = true;
dontWrapQtApps = true;
preFixup = ''
makeWrapperArgs+=(
"''${gappsWrapperArgs[@]}"
"''${qtWrapperArgs[@]}"
)
'';
meta = with lib; {
homepage = "https://github.com/NanoVNA-Saver/nanovna-saver";
description =
"A tool for reading, displaying and saving data from the NanoVNA";
longDescription = ''
A multiplatform tool to save Touchstone files from the NanoVNA, sweep
frequency spans in segments to gain more than 101 data points, and
generally display and analyze the resulting data.
'';
license = licenses.gpl3Only;
maintainers = with maintainers; [ zaninime tmarkus ];
};
}
|