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