Add 'another' package to flake.nix and update overlay

This commit is contained in:
암냥 2026-04-04 13:06:31 +09:00
commit 1acd425921
No known key found for this signature in database
2 changed files with 46 additions and 1 deletions

44
pkgs/another/default.nix Normal file
View file

@ -0,0 +1,44 @@
{
lib,
fetchurl,
appimageTools,
makeDesktopItem,
}:
let
pname = "another";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/Zfinix/another/releases/download/v${version}/Another_${version}_amd64.AppImage";
hash = "sha256-R9gnSZRnrorg2qzXDRFlsuuQa3YHdA0Y8g40EpEAm7g=";
};
desktopItem = makeDesktopItem {
name = pname;
desktopName = "Another";
comment = "Android mirroring and control app";
exec = "another";
categories = [
"Utility"
];
terminal = false;
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${desktopItem}/share/applications/${pname}.desktop \
$out/share/applications/${pname}.desktop
'';
meta = {
description = "Desktop app for mirroring and controlling Android devices";
homepage = "https://github.com/Zfinix/another";
license = lib.licenses.mit;
mainProgram = "another";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ];
};
}