From 7b210c5c8c124692c0ca70f9d7a4aa10d09f557d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 22 Apr 2026 00:22:53 +0200 Subject: [PATCH] terminalmap: init at 0.1.0 Tool to render real world maps in your terminal https://github.com/psmux/TerminalMap --- pkgs/by-name/te/terminalmap/package.nix | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/te/terminalmap/package.nix diff --git a/pkgs/by-name/te/terminalmap/package.nix b/pkgs/by-name/te/terminalmap/package.nix new file mode 100644 index 000000000000..e1b8ed3591eb --- /dev/null +++ b/pkgs/by-name/te/terminalmap/package.nix @@ -0,0 +1,36 @@ +{ + lib, + fetchFromGitHub, + openssl, + pkg-config, + rustPlatform, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "terminalmap"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "psmux"; + repo = "TerminalMap"; + tag = "v${finalAttrs.version}"; + hash = "sha256-6L3K5meR5pR8/U7QbW+qMaO2m+GNVB5Gny5gFCGE+hE="; + }; + + cargoHash = "sha256-VNvSjxCRO93beSY5DD1Vi/Wz87uYlkyyNeYVf8q860U="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ]; + + __structuredAttrs = true; + + meta = { + description = "Tool to render real world maps in your terminal"; + homepage = "https://github.com/psmux/TerminalMap"; + changelog = "https://github.com/psmux/TerminalMap/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "terminalmap"; + }; +})