zsh-syntax-highlighting: switch to finalAttrs pattern and cleanup

This commit is contained in:
Gutyina Gergő 2024-01-18 11:10:22 +01:00
parent 1ec01c34d7
commit 7d4c083215
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -2,15 +2,15 @@
# To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
version = "0.8.0";
pname = "zsh-syntax-highlighting";
src = fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = version;
sha256 = "sha256-iJdWopZwHpSyYl5/FQXEW7gl/SrKaYDEtTH9cGP7iPo=";
rev = finalAttrs.version;
hash = "sha256-iJdWopZwHpSyYl5/FQXEW7gl/SrKaYDEtTH9cGP7iPo=";
};
strictDeps = true;
@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/zsh-users/zsh-syntax-highlighting";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.loskutov ];
maintainers = with maintainers; [ loskutov ];
};
}
})