nixpkgs/pkgs/development/libraries/codec2/default.nix

24 lines
615 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2018-08-12 21:30:53 +00:00
2021-01-03 10:07:52 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "codec2";
2021-01-03 10:07:52 +00:00
version = "0.9.2";
2018-08-12 21:30:53 +00:00
src = fetchFromGitHub {
owner = "drowe67";
repo = "codec2";
rev = "v${version}";
sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba";
2018-08-12 21:30:53 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2018-08-12 21:30:53 +00:00
description = "Speech codec designed for communications quality speech at low data rates";
homepage = "http://www.rowetel.com/blog/?page_id=452";
2021-02-01 12:35:18 +00:00
license = licenses.lgpl21Only;
2021-01-03 10:07:52 +00:00
platforms = platforms.unix;
2018-08-12 21:30:53 +00:00
maintainers = with maintainers; [ markuskowa ];
};
}