2020-09-02 18:47:48 -07:00
|
|
|
{ stdenv, fetchFromGitHub, audiofile, libtiff, autoreconfHook }:
|
2012-09-24 10:02:19 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2020-09-02 18:47:48 -07:00
|
|
|
version = "3.0.0";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "spandsp";
|
2020-09-02 18:47:48 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "freeswitch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6"; # upstream does not seem to believe in tags
|
|
|
|
sha256 = "03w0s99y3zibi5fnvn8lk92dggfgrr0mz5255745jfbz28b2d5y7";
|
2012-09-24 10:02:19 -07:00
|
|
|
};
|
2019-09-29 02:05:22 -07:00
|
|
|
|
2019-09-25 08:13:59 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
2019-09-29 02:05:22 -07:00
|
|
|
|
2020-09-02 18:47:48 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
propagatedBuildInputs = [ audiofile libtiff ];
|
|
|
|
|
2012-09-24 10:02:19 -07:00
|
|
|
meta = {
|
2019-11-17 00:43:55 -08:00
|
|
|
description = "A portable and modular SIP User-Agent with audio and video support";
|
2020-09-02 18:47:48 -07:00
|
|
|
homepage = "https://github.com/freeswitch/spandsp";
|
2012-09-24 10:02:19 -07:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [raskin];
|
2015-05-28 10:20:29 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-09-24 10:02:19 -07:00
|
|
|
};
|
|
|
|
}
|