github: disable build for 23.05

This commit is contained in:
Mateusz Słodkowicz 2023-11-22 00:57:05 +01:00
parent 1bcffbaa93
commit f042edd94a
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
3 changed files with 2 additions and 62 deletions

View File

@ -35,7 +35,7 @@ jobs:
nixPath: nixPath:
- nixpkgs=channel:nixos-unstable - nixpkgs=channel:nixos-unstable
- nixpkgs=channel:nixpkgs-unstable - nixpkgs=channel:nixpkgs-unstable
- nixpkgs=channel:nixos-23.05 # - nixpkgs=channel:nixos-23.05
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository

View File

@ -50,7 +50,7 @@
, decklinkSupport ? false , decklinkSupport ? false
, blackmagic-desktop-video ? null , blackmagic-desktop-video ? null
, libcef , libcef
, libdatachannel ? pkgs.callPackage ./libdatachannel.nix {} , libdatachannel
, pkgs , pkgs
, qrcodegencpp ? pkgs.callPackage ./qrcodegencpp.nix {} , qrcodegencpp ? pkgs.callPackage ./qrcodegencpp.nix {}
, onevpl ? pkgs.callPackage ./onevpl.nix {} , onevpl ? pkgs.callPackage ./onevpl.nix {}

View File

@ -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;
};
}