From 7866fdab140ab9f228c640336ae8d7544e0806a2 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 29 Jul 2023 12:47:27 +0200 Subject: uxplay: use `finalAttrs` pattern --- pkgs/servers/uxplay/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pkgs/servers') diff --git a/pkgs/servers/uxplay/default.nix b/pkgs/servers/uxplay/default.nix index 67331edd60627..707ed49990235 100644 --- a/pkgs/servers/uxplay/default.nix +++ b/pkgs/servers/uxplay/default.nix @@ -11,15 +11,15 @@ , gst_all_1 }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "uxplay"; version = "1.65.3"; src = fetchFromGitHub { owner = "FDH2"; repo = "UxPlay"; - rev = "v${version}"; - sha256 = "sha256-ghimxgukQHBc0yVSpttF5lEVE6BTf9OL7RWmR5izxCo="; + rev = "v${finalAttrs.version}"; + hash = "sha256-ghimxgukQHBc0yVSpttF5lEVE6BTf9OL7RWmR5izxCo="; }; postPatch = '' @@ -47,11 +47,11 @@ stdenv.mkDerivation rec { gst_all_1.gst-libav ]; - meta = with lib; { - homepage = "https://github.com/FDH2/UxPlay"; + meta = { description = "AirPlay Unix mirroring server"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ azuwis ]; - platforms = platforms.unix; + homepage = "https://github.com/FDH2/UxPlay"; + license = lib.licenses.gpl3Plus; + maintainers = [ lib.maintainers.azuwis ]; + platforms = lib.platforms.unix; }; -} +}) -- cgit 1.4.1