Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
778 B
Nix
35 lines
778 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
# To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "0.8.0";
|
|
pname = "zsh-syntax-highlighting";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zsh-users";
|
|
repo = "zsh-syntax-highlighting";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-iJdWopZwHpSyYl5/FQXEW7gl/SrKaYDEtTH9cGP7iPo=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Fish shell like syntax highlighting for Zsh";
|
|
homepage = "https://github.com/zsh-users/zsh-syntax-highlighting";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [
|
|
gepbird
|
|
loskutov
|
|
];
|
|
};
|
|
})
|