2019-11-17 12:27:48 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake } :
|
2018-08-12 21:30:53 +00:00
|
|
|
|
|
|
|
let
|
2019-11-17 12:27:48 +00:00
|
|
|
version = "0.9.2";
|
2018-08-12 21:30:53 +00:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "codec2";
|
|
|
|
inherit version;
|
2018-08-12 21:30:53 +00:00
|
|
|
|
2019-11-17 12:27:48 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "drowe67";
|
|
|
|
repo = "codec2";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba";
|
2018-08-12 21:30:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Speech codec designed for communications quality speech at low data rates";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.rowetel.com/blog/?page_id=452";
|
2018-08-12 21:30:53 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ markuskowa ];
|
|
|
|
};
|
|
|
|
}
|