media-downloader: use finalAttrs pattern

This commit is contained in:
Pol Dellaiera 2023-08-11 22:33:51 +02:00
parent 8266428655
commit 43e4540c49
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -1,23 +1,23 @@
{ lib
, stdenv
, fetchFromGitHub
{ aria2
, cmake
, wrapQtAppsHook
, qtbase
, aria2
, fetchFromGitHub
, ffmpeg
, lib
, python3
, qtbase
, stdenv
, wrapQtAppsHook
, yt-dlp
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "media-downloader";
version = "3.3.0";
src = fetchFromGitHub {
owner = "mhogomchungu";
repo = pname;
rev = version;
repo = "media-downloader";
rev = finalAttrs.version;
hash = "sha256-UmNaosunkNUTm4rsf4q29H+0cJAccUDx+ulcS2octIo=";
};
@ -39,11 +39,11 @@ stdenv.mkDerivation rec {
]}"
];
meta = with lib; {
meta = {
description = "A Qt/C++ GUI front end to youtube-dl";
homepage = "https://github.com/mhogomchungu/media-downloader";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ zendo ];
platforms = lib.platforms.linux;
};
}
})