nixpkgs/pkgs/applications/radio/srsran/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
928 B
Nix
Raw Normal View History

{ stdenv
, lib
, cmake
, fetchFromGitHub
, pkg-config
, fftwFloat
, mbedtls
, boost
, lksctp-tools
, libconfig
, pcsclite
, uhd
2022-08-19 20:52:31 +02:00
, soapysdr-with-plugins
, libbladeRF
, zeromq
}:
stdenv.mkDerivation rec {
pname = "srsran";
2022-08-19 20:51:05 +02:00
version = "22.04.1";
src = fetchFromGitHub {
owner = "srsran";
repo = "srsran";
rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
2022-08-19 20:51:05 +02:00
sha256 = "sha256-jqaGlMhy6L6lRknl6Ezi0n+vNjMb7C+FN9a+QeOy/RY=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
fftwFloat
mbedtls
boost
libconfig
lksctp-tools
pcsclite
uhd
2022-08-19 20:52:31 +02:00
soapysdr-with-plugins
libbladeRF
zeromq
];
meta = with lib; {
homepage = "https://www.srslte.com/";
description = "Open-source 4G and 5G software radio suite.";
license = licenses.agpl3;
platforms = with platforms; linux ;
maintainers = with maintainers; [ hexagonal-sun ];
};
}