From 7ac47917c8716fb439836664d2ad7541a7341924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Kr=C3=BCger?= Date: Tue, 30 Jun 2026 09:47:46 +0200 Subject: [PATCH 1/2] maintainers: add aietes --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cde90b19938c..91958a320822 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -876,6 +876,12 @@ matrix = "aiya:catgirl.cloud"; name = "aiya"; }; + aietes = { + email = "stefan@standa.de"; + github = "Aietes"; + githubId = 5823770; + name = "Stefan Krüger"; + }; aij = { email = "aij+git@mrph.org"; github = "aij"; From a8de31c649a8e57eeebfa3e37590251945ddbe1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Kr=C3=BCger?= Date: Tue, 30 Jun 2026 09:47:50 +0200 Subject: [PATCH 2/2] smux: init at 0.3.1 --- pkgs/by-name/sm/smux/package.nix | 62 ++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 pkgs/by-name/sm/smux/package.nix diff --git a/pkgs/by-name/sm/smux/package.nix b/pkgs/by-name/sm/smux/package.nix new file mode 100644 index 000000000000..4bc93de97d24 --- /dev/null +++ b/pkgs/by-name/sm/smux/package.nix @@ -0,0 +1,62 @@ +{ + lib, + stdenv, + rustPlatform, + fetchFromGitHub, + installShellFiles, + makeWrapper, + tmux, + fzf, + zoxide, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "smux"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "Aietes"; + repo = "smux"; + tag = "v${finalAttrs.version}"; + hash = "sha256-mc7sspGN4Wf8Jn995S/jsZ0v1s5kgJ0ASn9iGbzH13U="; + }; + + cargoHash = "sha256-nUJwIOdVmZR+inDz4kYpPTFXREyZyf891ATed6UFIJo="; + + __structuredAttrs = true; + strictDeps = true; + + nativeBuildInputs = [ + installShellFiles + makeWrapper + ]; + + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + $out/bin/smux completions zsh --dir completions + installShellCompletion --zsh completions/_smux + + $out/bin/smux man --dir man + installManPage man/*.1 + installManPage man/*.5 + ''; + + postFixup = '' + wrapProgram $out/bin/smux \ + --prefix PATH : ${ + lib.makeBinPath [ + tmux + fzf + zoxide + ] + } + ''; + + meta = { + description = "Tmux session manager with fzf-powered project and template selection"; + homepage = "https://github.com/Aietes/smux"; + license = lib.licenses.mit; + mainProgram = "smux"; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ aietes ]; + }; +})