2024-02-06 00:27:31 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
buildGoModule,
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "sesh";
|
2024-05-16 16:22:13 +00:00
|
|
|
version = "1.1.1";
|
2024-02-06 00:27:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joshmedeski";
|
|
|
|
repo = "sesh";
|
|
|
|
rev = "v${version}";
|
2024-05-16 16:22:13 +00:00
|
|
|
hash = "sha256-Q0ErSM4r3wNjGu4p0EVhvdWkz4Cd46XD0hauN7idMRg=";
|
2024-02-06 00:27:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-zt1/gE4bVj+3yr9n0kT2FMYMEmiooy3k1lQ77rN6sTk=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Smart session manager for the terminal";
|
|
|
|
homepage = "https://github.com/joshmedeski/sesh";
|
|
|
|
changelog = "https://github.com/joshmedeski/sesh/releases/tag/${src.rev}";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ gwg313 ];
|
|
|
|
mainProgram = "sesh";
|
|
|
|
};
|
|
|
|
}
|