mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
media-downloader: use finalAttrs
pattern
This commit is contained in:
parent
8266428655
commit
43e4540c49
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user