···11-# zsh-git-prompt -- Informative git prompt for zsh
22-#
33-# Usage: to enable this plugin for all users, you could
44-# add it to configuration.nix like this:
55-#
66-# programs.zsh.interactiveShellInit = ''
77-# source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh
88-# '';
99-#
1010-# Or you can install it globally but only enable it in individual
1111-# users' ~/.zshrc files:
1212-#
1313-# source /run/current-system/sw/share/zsh-git-prompt/zshrc.sh
1414-#
1515-# Or if installed locally:
1616-#
1717-# source ~/.nix-profile/share/zsh-git-prompt/zshrc.sh
1818-#
1919-# Either way, you then have to set a prompt that incorporates
2020-# git_super_status, for example:
2121-#
2222-# PROMPT='%B%m%~%b$(git_super_status) %# '
2323-#
2424-# More details are in share/doc/zsh-git-prompt/README.md, once
2525-# installed.
2626-#
2727-{
2828- fetchFromGitHub,
2929- python3,
3030- git,
3131- lib,
3232- haskellPackages,
3333-}:
3434-3535-haskellPackages.callPackage (
3636- {
3737- mkDerivation,
3838- base,
3939- HUnit,
4040- parsec,
4141- process,
4242- QuickCheck,
4343- }:
4444- mkDerivation rec {
4545- pname = "zsh-git-prompt";
4646- version = "0.4z"; # While we await a real 0.5 release.
4747- src = fetchFromGitHub {
4848- owner = "starcraftman";
4949- repo = "zsh-git-prompt";
5050- rev = "11b83ba3b85d14c66cf2ab79faefab6d838da28e";
5151- sha256 = "04aylsjfb03ckw219plkzpyiq4j9g66bjxa5pa56h1p7df6pjssb";
5252- };
5353- prePatch = ''
5454- substituteInPlace zshrc.sh \
5555- --replace ':-"python"' ':-"haskell"' \
5656- --replace 'python ' '${python3.interpreter} ' \
5757- --replace 'git ' '${git}/bin/git '
5858- '';
5959- preCompileBuildDriver = "cd src";
6060- postInstall = ''
6161- cd ..
6262- gpshare=$out/share/${pname}
6363- gpdoc=$out/share/doc/${pname}
6464- mkdir -p $gpshare/src $gpdoc
6565- cp README.md $gpdoc
6666- cp zshrc.sh gitstatus.py $gpshare
6767- mv $out/bin $gpshare/src/.bin
6868- '';
6969- isLibrary = false;
7070- isExecutable = true;
7171- libraryHaskellDepends = [
7272- base
7373- parsec
7474- process
7575- QuickCheck
7676- ];
7777- executableHaskellDepends = libraryHaskellDepends;
7878- testHaskellDepends = [ HUnit ] ++ libraryHaskellDepends;
7979- homepage = "https://github.com/olivierverdier/zsh-git-prompt#readme";
8080- description = "Informative git prompt for zsh";
8181- license = lib.licenses.mit;
8282- maintainers = [ lib.maintainers.league ];
8383- }
8484-) { }
+1
pkgs/top-level/aliases.nix
···25542554 zplugin = throw "'zplugin' has been renamed to/replaced by 'zinit'"; # Converted to throw 2024-10-17
25552555 zk-shell = throw "zk-shell has been removed as it was broken and unmaintained"; # Added 2024-08-10
25562556 zkg = throw "'zkg' has been replaced by 'zeek'";
25572557+ zsh-git-prompt = throw "zsh-git-prompt was removed as it is unmaintained upstream"; # Added 2025-08-28
25572558 zsh-history = throw "'zsh-history' has been removed as it was unmaintained"; # Added 2025-04-17
25582559 zq = zed.overrideAttrs (old: {
25592560 meta = old.meta // {
-1
pkgs/top-level/release-haskell.nix
···384384 xmonadctl
385385 xmonad-with-packages
386386 yi
387387- zsh-git-prompt
388387 ;
389388390389 # Members of the elmPackages set that are Haskell derivations