mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
Merge #314504: init vim-startuptime
at 1.3.2
This commit is contained in:
commit
1de626d24b
@ -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";
|
||||
|
39
pkgs/by-name/vi/vim-startuptime/package.nix
Normal file
39
pkgs/by-name/vi/vim-startuptime/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user