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
}:
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;
};
}
})