filen-desktop: init at 3.0.41 (#368948)
This commit is contained in:
@@ -22075,6 +22075,12 @@
|
||||
githubId = 4477729;
|
||||
name = "Sergey Mironov";
|
||||
};
|
||||
smissingham = {
|
||||
email = "sean@missingham.com";
|
||||
github = "smissingham";
|
||||
githubId = 9065495;
|
||||
name = "Sean Missingham";
|
||||
};
|
||||
smitop = {
|
||||
name = "Smitty van Bodegom";
|
||||
email = "me@smitop.com";
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
appimageTools,
|
||||
makeDesktopItem,
|
||||
}:
|
||||
let
|
||||
pname = "filen-desktop";
|
||||
version = "3.0.41";
|
||||
|
||||
arch = builtins.head (builtins.split "-" stdenv.hostPlatform.system);
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/FilenCloudDienste/filen-desktop/releases/download/v${version}/Filen_linux_${arch}.AppImage";
|
||||
hash = "sha256-Nao5By8Z8lMbRcp2Mgw+xaiiFzUxCm6S3SAE5FfDZpk=";
|
||||
};
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "filen-desktop";
|
||||
desktopName = "Filen Desktop";
|
||||
comment = "Encrypted Cloud Storage";
|
||||
icon = "filen-desktop";
|
||||
exec = "filen-desktop %u";
|
||||
categories = [ "Office" ];
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract { inherit pname version src; };
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share
|
||||
cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons
|
||||
chmod -R +w $out/share
|
||||
find $out/share/icons -type f -iname "*.png" -execdir mv {} "$pname.png" \;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://filen.io/products/desktop";
|
||||
downloadPage = "https://github.com/FilenCloudDienste/filen-desktop/releases/";
|
||||
description = "Filen Desktop Client for Linux";
|
||||
longDescription = ''
|
||||
Encrypted Cloud Storage built for your Desktop.
|
||||
Sync your data, mount network drives, collaborate with others and access files natively — powered by robust encryption and seamless integration.
|
||||
'';
|
||||
mainProgram = "filen-desktop";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ smissingham ];
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user