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-07-18 16:06:22 +00:00
|
|
|
version = "4.5.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coturn";
|
|
|
|
repo = "coturn";
|
|
|
|
rev = version;
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1801931k4qdvc7jvaqxvjyhbh1xsvjz0pjajf6xc222n4ggar1q5";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|