1 { lib, stdenv, fetchFromGitHub, fetchurl, cmake, codec2 }:
4 dataVersion = "191005_v1.0";
6 url = "http://rowetel.com/downloads/deep/lpcnet_${dataVersion}.tgz";
7 sha256 = "sha256-UJRAkkdR/dh/+qVoPuPd3ZN69cgzuRBMzOZdUWFJJsg=";
10 stdenv.mkDerivation rec {
11 pname = "lpcnetfreedv";
12 version = "unstable-2022-08-22";
14 src = fetchFromGitHub {
17 rev = "67a6eb74d0c07faddcdce199856862cc45779d25";
18 sha256 = "sha256-eHYZoDgoZBuuLvQn9X7H/zmK5onOAniOgY1/8RVn8gk=";
21 nativeBuildInputs = [ cmake ];
25 ln -s ${data} build/lpcnet_${dataVersion}.tgz
29 homepage = "https://freedv.org/";
30 description = "Experimental Neural Net speech coding for FreeDV";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ mvs ];
33 platforms = platforms.all;