{ pkgs ? import {} }: let libosmo-cc = pkgs.callPackage ../libosmo-cc { }; in pkgs.stdenv.mkDerivation rec { pname = "osmocom-analog"; version = "unstable-2025-02-08"; src = pkgs.fetchgit { url = "https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog.git"; rev = "4ebf64f7c857c4fe7c56f7bdb3c1a4f705919e66"; hash = "sha256-XqsK4e/WIkm8c4Iwhn4JT7B4pcOrMtEOglOeuOaKWVQ="; }; nativeBuildInputs = with pkgs; [ autoconf271 automake gnumake libtool pkg-config ]; buildInputs = with pkgs; [ alsa-lib soapysdr fuse3 libosmocore fftwFloat SDL2 libosmo-cc ]; configurePhase = '' autoreconf -fi ./configure --prefix=$out ''; meta = with lib; { description = "Software implementation of analog cellular phone standards, including AMPS and TACS"; homepage = "https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog"; license = licenses.gpl3; }; }