summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/radio/m17-cxx-demod
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2022-07-03 20:10:03 +0200
committerAstro <astro@spaceboyz.net>2022-07-07 00:41:30 +0200
commit10565fccde3cacd75e6ba0ed6ad6496265041f7b (patch)
tree5be7f70a55954a74d796c55fc93d77ab27d20591 /pkgs/applications/radio/m17-cxx-demod
parent242090860a2d2f9d665d5b1629402996c12af4b1 (diff)
m17-cxx-demod: init at 2.3, add to nixos/openwebrx
Diffstat (limited to 'pkgs/applications/radio/m17-cxx-demod')
-rw-r--r--pkgs/applications/radio/m17-cxx-demod/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/radio/m17-cxx-demod/default.nix b/pkgs/applications/radio/m17-cxx-demod/default.nix
new file mode 100644
index 000000000000..86c30686c706
--- /dev/null
+++ b/pkgs/applications/radio/m17-cxx-demod/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, boost, codec2 }:
+
+stdenv.mkDerivation rec {
+ pname = "m17-cxx-demod";
+ version = "2.3";
+
+ src = fetchFromGitHub {
+ owner = "mobilinkd";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-mvppkFBmmPVqvlqIqrbwGrOBih5zS5sZrV/usEhHiws=";
+ };
+
+ nativeBuildInputs = [ cmake pkg-config ];
+ buildInputs = [ codec2 boost ];
+
+ meta = with lib; {
+ description = "M17 Demodulator in C++";
+ homepage = "https://github.com/mobilinkd/m17-cxx-demod";
+ license = licenses.gpl3Only;
+ platforms = platforms.unix;
+ maintainers = teams.c3d2.members;
+ };
+}