Merge #314504: init vim-startuptime at 1.3.2

This commit is contained in:
nicoo 2024-05-28 11:56:12 +00:00 committed by GitHub
commit 1de626d24b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 45 additions and 0 deletions

View File

@ -272,6 +272,12 @@
githubId = 381298;
name = "9R";
};
_9yokuro = {
email = "xzstd099@protonmail.com";
github = "9yokuro";
githubId = 119095935;
name = "9yokuro";
};
A1ca7raz = {
email = "aya@wtm.moe";
github = "A1ca7raz";

View File

@ -0,0 +1,39 @@
{
pkgs,
lib,
buildGoModule,
fetchFromGitHub
}:
let
pname = "vim-startuptime";
version = "1.3.2";
in
buildGoModule {
inherit pname version;
ldflags = [
"-s"
"-w"
];
src = fetchFromGitHub {
owner = "rhysd";
repo = "vim-startuptime";
rev = "v${version}";
hash = "sha256-d6AXTWTUawkBCXCvMs3C937qoRUZmy0qCFdSLcWh0BE=";
};
nativeCheckInputs = with pkgs; [
vim
neovim
];
vendorHash = null;
meta = with lib; {
homepage = "https://github.com/rhysd/vim-startuptime";
description = "A small Go program for better `vim --startuptime` alternative";
maintainers = with maintainers; [ _9yokuro ];
license = licenses.mit;
mainProgram = "vim-startuptime";
};
}