summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/codec2/default.nix
blob: 09ec21cc63e86ad85a1b6a1b8d5db4f83de5d629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "codec2";
  version = "0.9.2";

  src = fetchFromGitHub {
    owner = "drowe67";
    repo = "codec2";
    rev = "v${version}";
    sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    description = "Speech codec designed for communications quality speech at low data rates";
    homepage = "http://www.rowetel.com/blog/?page_id=452";
    license = licenses.lgpl21;
    platforms = platforms.unix;
    maintainers = with maintainers; [ markuskowa ];
  };
}