1 { appimageTools, fetchurl, lib, makeDesktopItem }:
8 url = "https://raw.githubusercontent.com/klaussinani/tusk/v${version}/static/Icon.png";
9 sha256 = "1jqclyrjgg6hir45spg75plfmd8k9nrsrzw3plbcg43s5m1qzihb";
12 desktopItem = makeDesktopItem {
17 genericName = "Evernote desktop app";
18 categories = [ "Application" ];
21 in appimageTools.wrapType2 rec {
22 inherit pname version;
25 url = "https://github.com/klaussinani/tusk/releases/download/v${version}/${pname}-${version}-x86_64.AppImage";
26 sha256 = "02q7wsnhlyq8z74avflrm7805ny8fzlmsmz4bmafp4b4pghjh5ky";
34 multiArch = false; # no 32bit needed
35 extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
36 extraInstallCommands = ''
37 mv $out/bin/{${pname}-${version},${pname}}
39 ln -s "${desktopItem}/share/applications" "$out/share/"
43 description = "Refined Evernote desktop app";
45 Tusk is an unofficial, featureful, open source, community-driven, free Evernote app used by people in more than 140 countries. Tusk is indicated by Evernote as an alternative client for Linux environments trusted by the open source community.
47 homepage = "https://klaussinani.github.io/tusk/";
48 license = licenses.mit;
49 maintainers = with maintainers; [ tbenst ];
50 platforms = [ "x86_64-linux" ];