Patch out libdatachannel in camera-streamer

This commit is contained in:
2024-08-10 21:51:35 +01:00
parent c9fa49b24d
commit b613c266ed
2 changed files with 34 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{ stdenv
, fetchFromGitea
, fetchFromGitHub
, cmake
, gnumake
@ -24,15 +24,18 @@ stdenv.mkDerivation (finalAttrs: {
pname = "camera-streamer";
version = "0.2.8";
src = fetchFromGitea {
domain = "git.vimium.com";
owner = "jordan";
src = fetchFromGitHub {
owner = "ayufan";
repo = "camera-streamer";
rev = "464f05172c725b4b302464eecdb8b6e85fda6e84";
hash = "sha256-IkLR/oozYU+hfpct+GXej2T3GEhauQtqwWOcrQAErbM=";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-8vV8BMFoDeh22I1/qxk6zttJROaD/lrThBxXHZSPpT4=";
fetchSubmodules = true;
};
patches = [
./0001-Disable-libdatachannel.patch
];
# Second replacement fixes literal newline in generated version.h.
postPatch = ''
substituteInPlace Makefile \