1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
9 src = fetchFromGitHub {
13 sha256 = "sha256-dQp9Ov8Si9DfziVtX3dXsJg+BNKYOoL9/WwdalQ5TVw=";
16 vendorSha256 = "sha256-vaDUzVRmpmNn8/vUPeR1U5N6T4llFRIk9A1lum8uauU=";
18 nativeBuildInputs = [ installShellFiles ];
20 ldflags = [ "-s" "-w" "-X=main.version=${version}" ];
23 installManPage ./man/man1/smug.1
24 installShellCompletion completion/smug.{bash,fish}
28 homepage = "https://github.com/ivaaaan/smug";
29 description = "Smug - tmux session manager";
30 license = licenses.mit;
31 maintainers = with maintainers; [ juboba ];