2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zsh }:
|
2016-10-02 22:07:23 +00:00
|
|
|
|
|
|
|
# To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option
|
|
|
|
|
2024-01-18 10:10:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-08-18 17:47:50 +00:00
|
|
|
version = "0.8.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "zsh-syntax-highlighting";
|
2017-05-23 10:11:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsh-users";
|
|
|
|
repo = "zsh-syntax-highlighting";
|
2024-01-18 10:10:22 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-iJdWopZwHpSyYl5/FQXEW7gl/SrKaYDEtTH9cGP7iPo=";
|
2016-10-02 22:07:23 +00:00
|
|
|
};
|
|
|
|
|
2022-05-06 18:39:28 +00:00
|
|
|
strictDeps = true;
|
2016-10-02 22:07:23 +00:00
|
|
|
buildInputs = [ zsh ];
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2016-10-02 22:07:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-10-02 22:07:23 +00:00
|
|
|
description = "Fish shell like syntax highlighting for Zsh";
|
2020-03-03 23:53:39 +00:00
|
|
|
homepage = "https://github.com/zsh-users/zsh-syntax-highlighting";
|
2016-10-02 22:07:23 +00:00
|
|
|
license = licenses.bsd3;
|
2016-10-05 14:43:53 +00:00
|
|
|
platforms = platforms.unix;
|
2024-01-18 10:10:56 +00:00
|
|
|
maintainers = with maintainers; [ gepbird loskutov ];
|
2016-10-02 22:07:23 +00:00
|
|
|
};
|
2024-01-18 10:10:22 +00:00
|
|
|
})
|