Skip to content

Commit

Permalink
gr-fosphor: init at unstable-2024-03-23
Browse files Browse the repository at this point in the history
  • Loading branch information
mrene committed Aug 14, 2024
1 parent dc37f88 commit e614af7
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
65 changes: 65 additions & 0 deletions pkgs/gnuradio-modules/gr-fosphor/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, gnuradio
, spdlog
, gmp
, mpir
, boost
, volk
, libGL
, opencl-headers
, ocl-icd
, freetype
, libX11
, qt5
, libsForQt5
}:

stdenv.mkDerivation rec {
pname = "gr-fosphor";
version = "unstable-2024-03-23";

src = fetchFromGitHub {
owner = "osmocom";
repo = "gr-fosphor";
rev = "74d54fc0b3ec9aeb7033686526c5e766f36eaf24";
hash = "sha256-FBmH4DmKATl0FPFU7T30OrYYmxlSTTLm1SZpt0o1qkw=";
};

nativeBuildInputs = [
cmake
pkg-config
];

buildInputs = [
gnuradio
spdlog
gmp
mpir
boost
volk
gnuradio.python.pkgs.pybind11
gnuradio.python.pkgs.numpy
libGL
opencl-headers
ocl-icd
freetype
libX11
qt5.qtbase
];

dontWrapQtApps = true;


meta = with lib; {
description = "GNURadio block for spectrum visualization using GPU; mirror of https://gitea.osmocom.org/sdr/gr-fosphor";
homepage = "https://github.com/osmocom/gr-fosphor";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "gr-fosphor";
platforms = platforms.all;
};
}
1 change: 1 addition & 0 deletions pkgs/gnuradio-modules/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ in
gr-timing_utils = callPackage ./gr-timing_utils/package.nix { };
gr-fhss_utils = callPackage ./gr-fhss_utils/package.nix { };
gr-smart_meters = callPackage ./gr-smart_meters/package.nix { };
gr-fosphor = callPackage ./gr-fosphor/package.nix { };
}))

0 comments on commit e614af7

Please sign in to comment.