mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
srsran: init at 21.10 (#164167)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
63dd57021f
commit
620ead69a4
49
pkgs/applications/radio/srsran/default.nix
Normal file
49
pkgs/applications/radio/srsran/default.nix
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, cmake
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, fftwFloat
|
||||||
|
, mbedtls
|
||||||
|
, boost
|
||||||
|
, lksctp-tools
|
||||||
|
, libconfig
|
||||||
|
, pcsclite
|
||||||
|
, uhd
|
||||||
|
, soapysdr
|
||||||
|
, libbladeRF
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "srsran";
|
||||||
|
version = "21.10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "srsran";
|
||||||
|
repo = "srsran";
|
||||||
|
rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
|
||||||
|
sha256 = "sha256-uJv8khevp7g2p4zT6bkrut67kvMu+fuL1VHDDit0viw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
fftwFloat
|
||||||
|
mbedtls
|
||||||
|
boost
|
||||||
|
libconfig
|
||||||
|
lksctp-tools
|
||||||
|
pcsclite
|
||||||
|
uhd
|
||||||
|
soapysdr
|
||||||
|
libbladeRF
|
||||||
|
];
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -10172,6 +10172,8 @@ with pkgs;
|
|||||||
|
|
||||||
srtrelay = callPackage ../applications/video/srtrelay { };
|
srtrelay = callPackage ../applications/video/srtrelay { };
|
||||||
|
|
||||||
|
srsran = callPackage ../applications/radio/srsran { };
|
||||||
|
|
||||||
sourcehut = callPackage ../applications/version-management/sourcehut { };
|
sourcehut = callPackage ../applications/version-management/sourcehut { };
|
||||||
|
|
||||||
sshfs-fuse = callPackage ../tools/filesystems/sshfs-fuse { };
|
sshfs-fuse = callPackage ../tools/filesystems/sshfs-fuse { };
|
||||||
|
Loading…
Reference in New Issue
Block a user