2021-08-15 05:35:51 +00:00
|
|
|
with import <nixpkgs> {};
|
2021-08-23 04:56:11 +00:00
|
|
|
let
|
2022-03-06 04:59:21 +00:00
|
|
|
libnice-patched = libnice.overrideAttrs(old: rec {
|
2021-11-05 02:26:47 +00:00
|
|
|
buildInputs = [
|
2022-03-06 04:59:21 +00:00
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
2021-11-05 02:26:47 +00:00
|
|
|
openssl
|
|
|
|
];
|
2021-11-05 03:18:45 +00:00
|
|
|
outputs = [ "bin" "out" "dev" ];
|
|
|
|
mesonFlags = old.mesonFlags ++ ["-Dgupnp=disabled" "-Dgtk_doc=disabled"];
|
2022-03-06 04:59:21 +00:00
|
|
|
meta.platforms = lib.platforms.unix;
|
2021-11-05 02:26:47 +00:00
|
|
|
});
|
2022-03-09 06:33:10 +00:00
|
|
|
gst-plugins-bad-patched = gst_all_1.gst-plugins-bad.override {
|
|
|
|
faacSupport = true;
|
|
|
|
};
|
|
|
|
gst-plugins-ugly-patched = gst_all_1.gst-plugins-ugly.overrideAttrs(old: rec {
|
|
|
|
buildInputs = lib.lists.subtractLists [a52dec] old.buildInputs;
|
|
|
|
mesonFlags = old.mesonFlags ++ ["-Da52dec=disabled"];
|
|
|
|
});
|
2021-08-23 04:56:11 +00:00
|
|
|
in
|
2021-08-15 05:35:51 +00:00
|
|
|
mkShell {
|
2021-08-14 13:06:39 +00:00
|
|
|
name = "gst-meet";
|
2021-08-15 05:35:51 +00:00
|
|
|
buildInputs = [
|
2021-08-19 10:06:12 +00:00
|
|
|
cargo
|
2021-08-14 13:06:39 +00:00
|
|
|
pkg-config
|
2021-12-24 11:19:16 +00:00
|
|
|
openssl
|
2021-08-15 05:35:51 +00:00
|
|
|
glib
|
2021-08-17 01:55:17 +00:00
|
|
|
glib-networking
|
2022-03-06 04:59:21 +00:00
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2022-03-09 06:33:10 +00:00
|
|
|
gst-plugins-bad-patched
|
|
|
|
gst-plugins-ugly-patched
|
2021-08-23 04:56:11 +00:00
|
|
|
libnice-patched
|
2021-08-15 11:24:06 +00:00
|
|
|
] ++ (if stdenv.isDarwin then [
|
|
|
|
darwin.apple_sdk.frameworks.AppKit
|
|
|
|
darwin.apple_sdk.frameworks.Security
|
|
|
|
] else []);
|
2021-08-17 01:55:17 +00:00
|
|
|
|
|
|
|
GIO_EXTRA_MODULES = ["${pkgs.glib-networking.out}/lib/gio/modules"];
|
2021-08-14 13:06:39 +00:00
|
|
|
}
|