nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, cmake } :
2
3let
4 version = "0.9.2";
5
6in stdenv.mkDerivation {
7 pname = "codec2";
8 inherit version;
9
10 src = fetchFromGitHub {
11 owner = "drowe67";
12 repo = "codec2";
13 rev = "v${version}";
14 sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba";
15 };
16
17 enableParallelBuilding = true;
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = with stdenv.lib; {
22 description = "Speech codec designed for communications quality speech at low data rates";
23 homepage = "http://www.rowetel.com/blog/?page_id=452";
24 license = licenses.lgpl21;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ markuskowa ];
27 };
28}