diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 59cf754af9dc..b9cc3b38425e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/by-name/fi/filen-desktop/package.nix b/pkgs/by-name/fi/filen-desktop/package.nix new file mode 100644 index 000000000000..41a4b9566cdf --- /dev/null +++ b/pkgs/by-name/fi/filen-desktop/package.nix @@ -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 ]; + }; +}