chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ux / uxplay / package.nix
blob225475320ede8ed13965ebadb806f090eda316f3
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   openssl,
7   libplist,
8   pkg-config,
9   wrapGAppsHook3,
10   avahi,
11   avahi-compat,
12   gst_all_1,
13   nix-update-script,
16 stdenv.mkDerivation (finalAttrs: {
17   pname = "uxplay";
18   version = "1.69";
20   src = fetchFromGitHub {
21     owner = "FDH2";
22     repo = "UxPlay";
23     rev = "v${finalAttrs.version}";
24     hash = "sha256-4QNuM/yMb5wSTSjTbqrTgU+FHFMIyIH8pRBwuGhAJU4=";
25   };
27   postPatch = ''
28     substituteInPlace lib/CMakeLists.txt \
29       --replace ".a" "${stdenv.hostPlatform.extensions.sharedLibrary}"
30     sed -i '/PKG_CONFIG_EXECUTABLE/d' renderers/CMakeLists.txt
31   '';
33   nativeBuildInputs = [
34     cmake
35     openssl
36     libplist
37     pkg-config
38     wrapGAppsHook3
39   ];
41   buildInputs = [
42     avahi
43     avahi-compat
44     gst_all_1.gstreamer
45     gst_all_1.gst-plugins-base
46     gst_all_1.gst-plugins-good
47     gst_all_1.gst-plugins-bad
48     gst_all_1.gst-plugins-ugly
49     gst_all_1.gst-libav
50   ];
52   passthru.updateScript = nix-update-script { };
54   meta = {
55     changelog = "https://github.com/FDH2/UxPlay/releases/tag/v${finalAttrs.version}";
56     description = "AirPlay Unix mirroring server";
57     homepage = "https://github.com/FDH2/UxPlay";
58     license = lib.licenses.gpl3Plus;
59     mainProgram = "uxplay";
60     maintainers = [ lib.maintainers.azuwis ];
61     platforms = lib.platforms.unix;
62   };