mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
nanovna-saver: init at 0.3.7
This commit is contained in:
parent
6bcc200340
commit
2a54c4f950
@ -0,0 +1,51 @@
|
||||
{ lib, mkDerivationWith, wrapQtAppsHook, python3Packages, fetchFromGitHub
|
||||
, qtbase }:
|
||||
|
||||
let
|
||||
version = "0.3.7";
|
||||
pname = "nanovna-saver";
|
||||
|
||||
in mkDerivationWith python3Packages.buildPythonApplication {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NanoVNA-Saver";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0c22ckyypg91gfb2sdc684msw28nnb6r8cq3b362gafvv00a35mi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
cython
|
||||
scipy_1_4
|
||||
pyqt5
|
||||
pyserial
|
||||
numpy
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
dontWrapGApps = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/NanoVNASaver \
|
||||
"''${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 ];
|
||||
};
|
||||
}
|
@ -14603,6 +14603,8 @@ in
|
||||
|
||||
nanomsg = callPackage ../development/libraries/nanomsg { };
|
||||
|
||||
nanovna-saver = libsForQt5.callPackage ../applications/science/electronics/nanovna-saver { };
|
||||
|
||||
ndpi = callPackage ../development/libraries/ndpi { };
|
||||
|
||||
nifticlib = callPackage ../development/libraries/science/biology/nifticlib { };
|
||||
|
Loading…
Reference in New Issue
Block a user