From 8165f8c211affebb098c017d3764fa105d3ce5be Mon Sep 17 00:00:00 2001 From: Marijn <25235249+2zqa@users.noreply.github.com> Date: Wed, 4 Feb 2026 21:04:23 +0100 Subject: [PATCH 1/2] maintainers: add _2zqa --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f5a20c539d5f..12373720f974 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -209,6 +209,12 @@ github = "2hexed"; githubId = 54501296; }; + _2zqa = { + name = "Marijn Kok"; + email = "hkju4b4ds@mozmail.com"; + github = "2zqa"; + githubId = 25235249; + }; _30350n = { name = "Max Schlecht"; github = "30350n"; From a47007f6b29fc98fedd8b8e53f94b98f797358c5 Mon Sep 17 00:00:00 2001 From: Marijn <25235249+2zqa@users.noreply.github.com> Date: Wed, 4 Feb 2026 21:04:41 +0100 Subject: [PATCH 2/2] simplenote: init at version 2.27.1 --- pkgs/by-name/si/simplenote/package.nix | 64 ++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 pkgs/by-name/si/simplenote/package.nix diff --git a/pkgs/by-name/si/simplenote/package.nix b/pkgs/by-name/si/simplenote/package.nix new file mode 100644 index 000000000000..3818dfb1e247 --- /dev/null +++ b/pkgs/by-name/si/simplenote/package.nix @@ -0,0 +1,64 @@ +{ + appimageTools, + lib, + fetchurl, + nix-update-script, + makeDesktopItem, +}: + +let + pname = "simplenote"; + version = "2.27.1"; + + src = fetchurl { + url = "https://github.com/Automattic/simplenote-electron/releases/download/v${version}/Simplenote-linux-${version}-x86_64.AppImage"; + hash = "sha512-jf9mnmf+5Xcowxgx7uizWVmv88gPdYwojQ2f+xhbqnXaHD3dSbcW2YdxiV3qjmFsRzUgwZvBVOGpOMvnSHuQDA=="; + }; + + appimageContents = appimageTools.extract { inherit pname version src; }; +in +appimageTools.wrapType2 { + inherit pname version src; + + __structuredAttrs = true; + strictDeps = true; + + extraInstallCommands = '' + install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications + substituteInPlace $out/share/applications/${pname}.desktop \ + --replace-fail 'Exec=AppRun' 'Exec=${pname}' + + cp -r ${appimageContents}/usr/share/icons $out/share + ''; + + extraPkgs = + pkgs: with pkgs; [ + libsecret + libnotify + libappindicator-gtk3 + ]; + + desktopItems = [ + (makeDesktopItem { + name = pname; + exec = pname; + icon = "simplenote"; + genericName = "Note Taking Application"; + comment = "Simplenote for Linux"; + categories = [ "Utility" ]; + startupNotify = true; + }) + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + mainProgram = "simplenote"; + description = "The simplest way to keep notes"; + homepage = "https://github.com/Automattic/simplenote-electron"; + license = lib.licenses.gpl2Plus; + platforms = [ "x86_64-linux" ]; + maintainers = with lib.maintainers; [ _2zqa ]; + changelog = "https://github.com/Automattic/simplenote-electron/releases/tag/v${version}/RELEASE-NOTES.md"; + }; +}