mirror of
https://github.com/callumio/scenics.git
synced 2025-12-17 03:29:21 +00:00
tmux-githop: init at 0.1.0
This commit is contained in:
parent
d284b8ae4d
commit
74cddbd9a3
1 changed files with 34 additions and 0 deletions
34
pkgs/tmux-githop.nix
Normal file
34
pkgs/tmux-githop.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "tmux-githop";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "callumio";
|
||||
repo = "tmux-githop";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ydxaEIPTJrQtAMaF14vFhC1qlmVGiD/4WQ85qOB+jDE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xTZBpNc7P8jLCPpsv3cTclVNtLwbW3O/LcF4mYAzXsM=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.version=${version}"
|
||||
"-X=main.commit=${src.rev}"
|
||||
"-X=main.date=1970-01-01T00:00:00Z"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fast tmux session hopping between git repos";
|
||||
homepage = "https://github.com/callumio/tmux-githop";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [callumio];
|
||||
mainProgram = "tmux-githop";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue