mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
30 lines
697 B
Nix
30 lines
697 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "sesh";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "joshmedeski";
|
|
repo = "sesh";
|
|
rev = "v${version}";
|
|
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";
|
|
};
|
|
}
|