uxplay: migrate to pkgs/by-name and other enhancements

- Format using nixfmt-rfc-style
- Add passthru.updateScript
- Add meta.changelog
This commit is contained in:
Zhong Jianxin 2024-05-12 19:18:49 +08:00
parent add7fad06c
commit 9236e8ff31
2 changed files with 17 additions and 14 deletions

View File

@ -1,14 +1,16 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, openssl
, libplist
, pkg-config
, wrapGAppsHook3
, avahi
, avahi-compat
, gst_all_1
{
lib,
stdenv,
fetchFromGitHub,
cmake,
openssl,
libplist,
pkg-config,
wrapGAppsHook3,
avahi,
avahi-compat,
gst_all_1,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
@ -47,12 +49,15 @@ stdenv.mkDerivation (finalAttrs: {
gst_all_1.gst-libav
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/FDH2/UxPlay/releases/tag/v${finalAttrs.version}";
description = "AirPlay Unix mirroring server";
homepage = "https://github.com/FDH2/UxPlay";
license = lib.licenses.gpl3Plus;
mainProgram = "uxplay";
maintainers = [ lib.maintainers.azuwis ];
platforms = lib.platforms.unix;
mainProgram = "uxplay";
};
})

View File

@ -26691,8 +26691,6 @@ with pkgs;
urserver = callPackage ../servers/urserver { };
uxplay = callPackage ../servers/uxplay { };
vouch-proxy = callPackage ../servers/vouch-proxy { };
virtiofsd = callPackage ../servers/misc/virtiofsd { };