commit 5ceb7a27d13ddf08d9ff687e2a9feab7b4b3528b
parent 5bcf8f700607fa75885fe7f724189c473dc7f932
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 12 Aug 2023 21:51:17 +0400
Add goestools
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -472,6 +472,7 @@ lib.makeScope newScope (
acarsdec = callPackage ./radio/acarsdec { };
aprsc = callPackage ./radio/aprsc { };
fmreceiver = libsForQt5.callPackage ./radio/fmreceiver { };
+ goestools = callPackage ./radio/goestools { };
gqrx-scanner = callPackage ./radio/gqrx-scanner { };
libacars = callPackage ./radio/libacars { };
linrad = callPackage ./radio/linrad { };
diff --git a/pkgs/radio/goestools/default.nix b/pkgs/radio/goestools/default.nix
@@ -0,0 +1,26 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, opencv4, rtl-sdr, zlib }:
+
+stdenv.mkDerivation rec {
+ pname = "goestools";
+ version = "2022-11-11";
+
+ src = fetchFromGitHub {
+ owner = "pietern";
+ repo = "goestools";
+ rev = "865e5c73683f8f688d102748e6b495ab5978768f";
+ hash = "sha256-sbYQAh7auQ/lDYyk0b5q1SScU6q7O0Q7DNgZ0t9pHag=";
+ fetchSubmodules = true;
+ };
+
+ nativeBuildInputs = [ cmake pkg-config ];
+
+ buildInputs = [ opencv4 rtl-sdr zlib ];
+
+ meta = with lib; {
+ description = "Tools to work with signals and files from GOES satellites";
+ homepage = "https://pietern.github.io/goestools/";
+ license = licenses.bsd2;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.unix;
+ };
+}