2020-05-03 17:38:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, openssl, libevent }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "coturn";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "4.5.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coturn";
|
|
|
|
repo = "coturn";
|
|
|
|
rev = version;
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "01y65az8qyv2kjnb4fj7rgl4zq5pc2b286gfn727x3hfhksx9zp2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl libevent ];
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
patches = [
|
|
|
|
./pure-configure.patch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://coturn.net/";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
description = "A TURN server";
|
|
|
|
platforms = platforms.all;
|
|
|
|
broken = stdenv.isDarwin; # 2018-10-21
|
|
|
|
maintainers = [ maintainers.ralith ];
|
|
|
|
};
|
|
|
|
}
|