Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
873 B
Nix

{
lib,
buildFishPlugin,
fetchFromGitHub,
}:
# Due to a quirk in tide breaking wrapFish, we need to add additional commands in the config.fish
# Refer to the following comment to get you setup: https://github.com/NixOS/nixpkgs/pull/201646#issuecomment-1320893716
buildFishPlugin rec {
pname = "tide";
version = "6.2.0";
src = fetchFromGitHub {
owner = "IlanCosman";
repo = "tide";
rev = "v${version}";
hash = "sha256-1ApDjBUZ1o5UyfQijv9a3uQJ/ZuQFfpNmHiDWzoHyuw=";
};
#buildFishplugin will only move the .fish files, but tide has a tide configure function
postInstall = ''
cp -R functions/tide $out/share/fish/vendor_functions.d/
'';
meta = {
description = "Ultimate Fish prompt";
homepage = "https://github.com/IlanCosman/tide";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jocelynthode ];
};
}