mirror of
https://github.com/materusPL/Nixerus.git
synced 2026-06-26 18:36:42 +00:00
github: disable build for 23.05
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
, decklinkSupport ? false
|
||||
, blackmagic-desktop-video ? null
|
||||
, libcef
|
||||
, libdatachannel ? pkgs.callPackage ./libdatachannel.nix {}
|
||||
, libdatachannel
|
||||
, pkgs
|
||||
, qrcodegencpp ? pkgs.callPackage ./qrcodegencpp.nix {}
|
||||
, onevpl ? pkgs.callPackage ./onevpl.nix {}
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, srcOnly
|
||||
, cmake
|
||||
, ninja
|
||||
, pkg-config
|
||||
, libnice
|
||||
, openssl
|
||||
, plog
|
||||
, srtp
|
||||
, usrsctp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdatachannel";
|
||||
version = "0.19.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paullouisageneau";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Cx+AfoeLOcqlrEVNuvMPJaY6K7ufu07p9XdjNwtPYf0=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
libnice
|
||||
openssl
|
||||
srtp
|
||||
usrsctp
|
||||
plog
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_NICE=ON"
|
||||
"-DPREFER_SYSTEM_LIB=ON"
|
||||
"-DNO_EXAMPLES=ON"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
# Fix include path that will be incorrect due to the "dev" output
|
||||
substituteInPlace "$dev/lib/cmake/LibDataChannel/LibDataChannelTargets.cmake" \
|
||||
--replace "\''${_IMPORT_PREFIX}/include" "$dev/include"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets";
|
||||
homepage = "https://libdatachannel.org/";
|
||||
license = with licenses; [ mpl20 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user