nixpkgs/pkgs/by-name/se/sesh/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
697 B
Nix
Raw Normal View History

{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "sesh";
2024-05-16 16:22:13 +00:00
version = "1.1.1";
src = fetchFromGitHub {
owner = "joshmedeski";
repo = "sesh";
rev = "v${version}";
2024-05-16 16:22:13 +00:00
hash = "sha256-Q0ErSM4r3wNjGu4p0EVhvdWkz4Cd46XD0hauN7idMRg=";
};
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";
};
}