nixpkgs/pkgs/by-name/vi/vim-startuptime/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

40 lines
730 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";
};
}