From da12a1135ee9b1f53cea48a62cf730b3b1f1972a Mon Sep 17 00:00:00 2001 From: Kevin Pita Date: Sun, 17 May 2026 10:07:24 +0200 Subject: [PATCH 1/2] maintainers: add kevinpita --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8a4e9c3db29c..92dbf394a8e1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14237,6 +14237,12 @@ githubId = 8211181; name = "Kevin Kandlbinder"; }; + kevinpita = { + email = "gitkevin@pm.me"; + github = "kevinpita"; + githubId = 69063372; + name = "Kevin Pita"; + }; keyruu = { name = "Lucas"; email = "me@keyruu.de"; From fd20a35f1ad201557ef830e3e3a81c8c71c40946 Mon Sep 17 00:00:00 2001 From: Kevin Pita Date: Sun, 17 May 2026 10:07:11 +0200 Subject: [PATCH 2/2] herdr: init at 0.7.0 Assisted-by: OpenAI Codex (GPT-5) --- pkgs/by-name/he/herdr/package.nix | 58 +++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pkgs/by-name/he/herdr/package.nix diff --git a/pkgs/by-name/he/herdr/package.nix b/pkgs/by-name/he/herdr/package.nix new file mode 100644 index 000000000000..8b6971264498 --- /dev/null +++ b/pkgs/by-name/he/herdr/package.nix @@ -0,0 +1,58 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + zig_0_15, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "herdr"; + version = "0.7.0"; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "ogulcancelik"; + repo = "herdr"; + tag = "v${finalAttrs.version}"; + hash = "sha256-DjCSwhRMBRE9lSvjpX6m8IpoEgUbOP1jcmeXMlQlSQY="; + }; + + cargoHash = "sha256-NHVSdXlGsqhI/Mij28TvdW0f6IKOglNgpBNb2sFXocI="; + + zigDeps = zig_0_15.fetchDeps { + inherit (finalAttrs) pname version; + src = "${finalAttrs.src}/vendor/libghostty-vt"; + fetchAll = true; + hash = "sha256-pgGu8+NwvFcj6SrN4VaTHLeHdA7QY731ctyrHZwgFAc="; + }; + + nativeBuildInputs = [ zig_0_15.hook ]; + + # Upstream binary tests are renamed, added, or changed between releases and + # depend on host process details, so Nix-only patches for them are brittle. + doCheck = false; + + dontUseZigBuild = true; + dontUseZigCheck = true; + dontUseZigInstall = true; + + postConfigure = '' + export ZIG_GLOBAL_CACHE_DIR=$(mktemp -d) + cp -rL ${finalAttrs.zigDeps} "$ZIG_GLOBAL_CACHE_DIR/p" + chmod -R u+w "$ZIG_GLOBAL_CACHE_DIR/p" + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Agent multiplexer that lives in your terminal"; + homepage = "https://github.com/ogulcancelik/herdr"; + changelog = "https://github.com/ogulcancelik/herdr/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ kevinpita ]; + mainProgram = "herdr"; + platforms = lib.platforms.unix; + }; +})