diff options
author | Matthew Leach <matthew@mattleach.net> | 2022-03-27 14:15:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-27 15:15:17 +0200 |
commit | 620ead69a4237fc9ab27cc1d5e78b702345e6f4a (patch) | |
tree | eebbadc5ea7e89e1d9da68058346bb77070362d3 /pkgs/applications/radio | |
parent | 63dd57021f05b40aa32f9a9f399c3e8626894e25 (diff) | |
download | nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.tar nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.tar.gz nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.tar.bz2 nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.tar.lz nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.tar.xz nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.tar.zst nixlib-620ead69a4237fc9ab27cc1d5e78b702345e6f4a.zip |
srsran: init at 21.10 (#164167)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r-- | pkgs/applications/radio/srsran/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/applications/radio/srsran/default.nix b/pkgs/applications/radio/srsran/default.nix new file mode 100644 index 000000000000..dc7ae777df71 --- /dev/null +++ b/pkgs/applications/radio/srsran/default.nix @@ -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 ]; + }; +} |