Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 28 lines 876 B view raw
1{ lib, buildFishPlugin, fetchFromGitHub }: 2 3# Due to a quirk in tide breaking wrapFish, we need to add additional commands in the config.fish 4# Refer to the following comment to get you setup: https://github.com/NixOS/nixpkgs/pull/201646#issuecomment-1320893716 5buildFishPlugin rec { 6 pname = "tide"; 7 version = "5.5.1"; 8 9 src = fetchFromGitHub { 10 owner = "IlanCosman"; 11 repo = "tide"; 12 rev = "v${version}"; 13 sha256 = "sha256-vi4sYoI366FkIonXDlf/eE2Pyjq7E/kOKBrQS+LtE+M="; 14 }; 15 16 #buildFishplugin will only move the .fish files, but tide has a tide configure function 17 postInstall = '' 18 cp -R functions/tide $out/share/fish/vendor_functions.d/ 19 ''; 20 21 meta = with lib; { 22 description = "The ultimate Fish prompt."; 23 homepage = "https://github.com/IlanCosman/tide"; 24 license = licenses.mit; 25 maintainers = [ maintainers.jocelynthode ]; 26 }; 27} 28