uxplay: use finalAttrs pattern

This commit is contained in:
Pol Dellaiera 2023-07-29 12:47:27 +02:00
parent 87eff1671d
commit 7866fdab14
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -11,15 +11,15 @@
, gst_all_1 , gst_all_1
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "uxplay"; pname = "uxplay";
version = "1.65.3"; version = "1.65.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FDH2"; owner = "FDH2";
repo = "UxPlay"; repo = "UxPlay";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-ghimxgukQHBc0yVSpttF5lEVE6BTf9OL7RWmR5izxCo="; hash = "sha256-ghimxgukQHBc0yVSpttF5lEVE6BTf9OL7RWmR5izxCo=";
}; };
postPatch = '' postPatch = ''
@ -47,11 +47,11 @@ stdenv.mkDerivation rec {
gst_all_1.gst-libav gst_all_1.gst-libav
]; ];
meta = with lib; { meta = {
homepage = "https://github.com/FDH2/UxPlay";
description = "AirPlay Unix mirroring server"; description = "AirPlay Unix mirroring server";
license = licenses.gpl3Plus; homepage = "https://github.com/FDH2/UxPlay";
maintainers = with maintainers; [ azuwis ]; license = lib.licenses.gpl3Plus;
platforms = platforms.unix; maintainers = [ lib.maintainers.azuwis ];
platforms = lib.platforms.unix;
}; };
} })