ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / vi / vim-startuptime / package.nix
blob545cb27e43e2c2cd2808a5ba9802b5a83bf5dbb6
2   pkgs,
3   lib,
4   buildGoModule,
5   fetchFromGitHub
6 }:
7 let
8   pname = "vim-startuptime";
9   version = "1.3.2";
11 buildGoModule {
12   inherit pname version;
13   ldflags = [
14     "-s"
15     "-w"
16   ];
18   src = fetchFromGitHub {
19     owner = "rhysd";
20     repo = "vim-startuptime";
21     rev = "v${version}";
22     hash = "sha256-d6AXTWTUawkBCXCvMs3C937qoRUZmy0qCFdSLcWh0BE=";
23   };
25   nativeCheckInputs = with pkgs; [
26     vim
27     neovim
28   ];
30   vendorHash = null;
32   meta = with lib; {
33     homepage = "https://github.com/rhysd/vim-startuptime";
34     description = "Small Go program for better `vim --startuptime` alternative";
35     maintainers = with maintainers; [ _9yokuro ];
36     license = licenses.mit;
37     mainProgram = "vim-startuptime";
38   };