diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-07-29 12:47:27 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-07-29 12:47:27 +0200 |
commit | 7866fdab140ab9f228c640336ae8d7544e0806a2 (patch) | |
tree | 8b3dd1cc4f774e46fe2b74c6002a5034b3bfbff2 /pkgs/servers | |
parent | 87eff1671d9ff79b1fd4bca1035375cc3f88c2d9 (diff) |
uxplay: use `finalAttrs` pattern
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/uxplay/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
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; }; -} +}) |