freetube: 0.21.1 -> 0.21.2

This commit is contained in:
Ryan Omasta 2024-07-26 03:02:00 -06:00
parent 4a8e77c706
commit 8f509ee748
No known key found for this signature in database

View File

@ -1,19 +1,25 @@
{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron, nixosTests }:
{
stdenv,
lib,
fetchurl,
appimageTools,
makeWrapper,
electron,
nixosTests,
}:
stdenv.mkDerivation rec {
pname = "freetube";
version = "0.21.1";
version = "0.21.2";
src = fetchurl {
url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${version}-beta/freetube_${version}_amd64.AppImage";
sha256 = "sha256-HAtOWa/2j8xIICz8BQcG9X4t5Wu+VjlpWUGcTVteeME=";
hash = "sha256-Mk8qHDiUs2Nd8APMR8q1wZhTtxyzRhBAeXew9ogC3nk=";
};
passthru.tests = nixosTests.freetube;
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
dontUnpack = true;
dontConfigure = true;
@ -42,11 +48,14 @@ stdenv.mkDerivation rec {
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
'';
meta = with lib; {
meta = {
description = "Open Source YouTube app for privacy";
homepage = "https://freetubeapp.io/";
license = licenses.agpl3Only;
maintainers = with maintainers; [ ryneeverett alyaeanyx ];
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [
ryneeverett
alyaeanyx
];
inherit (electron.meta) platforms;
mainProgram = "freetube";
};