codec2: enable build on unix

This commit is contained in:
Ben Siraphob 2021-01-03 17:07:52 +07:00
parent 20489e31cd
commit c8f70e0e97

View File

@ -1,11 +1,8 @@
{ stdenv, fetchFromGitHub, cmake } :
{ stdenv, fetchFromGitHub, cmake }:
let
version = "0.9.2";
in stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "codec2";
inherit version;
version = "0.9.2";
src = fetchFromGitHub {
owner = "drowe67";
@ -14,15 +11,13 @@ in stdenv.mkDerivation {
sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba";
};
enableParallelBuilding = true;
nativeBuildInputs = [ cmake ];
meta = with stdenv.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.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ markuskowa ];
};
}