Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
731 B
Nix
40 lines
731 B
Nix
{
|
|
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 = "Small Go program for better `vim --startuptime` alternative";
|
|
maintainers = with maintainers; [ _9yokuro ];
|
|
license = licenses.mit;
|
|
mainProgram = "vim-startuptime";
|
|
};
|
|
}
|