1 { lib, stdenv, fetchFromGitHub, unstableGitUpdater, bash }:
3 stdenv.mkDerivation rec {
5 version = "0-unstable-2024-06-03";
7 src = fetchFromGitHub {
8 owner = "sorin-ionescu";
10 rev = "9195b66161b196238cbd52a8a4abd027bdaf5f73";
11 sha256 = "wN/86uFBahUWl9RnKvdf88zVxou7B8Kh7/s3JfMye0g=";
12 fetchSubmodules = true;
16 buildInputs = [ bash ];
19 # make zshrc aware of where zsh-prezto is installed
20 sed -i -e "s|\''${ZDOTDIR:\-\$HOME}/.zprezto/|$out/share/zsh-prezto/|g" runcoms/zshrc
24 mkdir -p $out/share/zsh-prezto
25 cp -R ./ $out/share/zsh-prezto
28 passthru.updateScript = unstableGitUpdater {};
31 description = "Configuration framework for Zsh";
33 Prezto is the configuration framework for Zsh; it enriches
34 the command line interface environment with sane defaults,
35 aliases, functions, auto completion, and prompt themes.
37 homepage = "https://github.com/sorin-ionescu/prezto";
38 license = licenses.mit;
39 maintainers = with maintainers; [ holymonson ];
40 platforms = platforms.unix;