zsh-git-prompt: drop (#437745)

authored by Malte Ott and committed by GitHub 45e2200c 3a485334

+1 -85
-84
pkgs/by-name/zs/zsh-git-prompt/package.nix
··· 1 - # zsh-git-prompt -- Informative git prompt for zsh 2 - # 3 - # Usage: to enable this plugin for all users, you could 4 - # add it to configuration.nix like this: 5 - # 6 - # programs.zsh.interactiveShellInit = '' 7 - # source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh 8 - # ''; 9 - # 10 - # Or you can install it globally but only enable it in individual 11 - # users' ~/.zshrc files: 12 - # 13 - # source /run/current-system/sw/share/zsh-git-prompt/zshrc.sh 14 - # 15 - # Or if installed locally: 16 - # 17 - # source ~/.nix-profile/share/zsh-git-prompt/zshrc.sh 18 - # 19 - # Either way, you then have to set a prompt that incorporates 20 - # git_super_status, for example: 21 - # 22 - # PROMPT='%B%m%~%b$(git_super_status) %# ' 23 - # 24 - # More details are in share/doc/zsh-git-prompt/README.md, once 25 - # installed. 26 - # 27 - { 28 - fetchFromGitHub, 29 - python3, 30 - git, 31 - lib, 32 - haskellPackages, 33 - }: 34 - 35 - haskellPackages.callPackage ( 36 - { 37 - mkDerivation, 38 - base, 39 - HUnit, 40 - parsec, 41 - process, 42 - QuickCheck, 43 - }: 44 - mkDerivation rec { 45 - pname = "zsh-git-prompt"; 46 - version = "0.4z"; # While we await a real 0.5 release. 47 - src = fetchFromGitHub { 48 - owner = "starcraftman"; 49 - repo = "zsh-git-prompt"; 50 - rev = "11b83ba3b85d14c66cf2ab79faefab6d838da28e"; 51 - sha256 = "04aylsjfb03ckw219plkzpyiq4j9g66bjxa5pa56h1p7df6pjssb"; 52 - }; 53 - prePatch = '' 54 - substituteInPlace zshrc.sh \ 55 - --replace ':-"python"' ':-"haskell"' \ 56 - --replace 'python ' '${python3.interpreter} ' \ 57 - --replace 'git ' '${git}/bin/git ' 58 - ''; 59 - preCompileBuildDriver = "cd src"; 60 - postInstall = '' 61 - cd .. 62 - gpshare=$out/share/${pname} 63 - gpdoc=$out/share/doc/${pname} 64 - mkdir -p $gpshare/src $gpdoc 65 - cp README.md $gpdoc 66 - cp zshrc.sh gitstatus.py $gpshare 67 - mv $out/bin $gpshare/src/.bin 68 - ''; 69 - isLibrary = false; 70 - isExecutable = true; 71 - libraryHaskellDepends = [ 72 - base 73 - parsec 74 - process 75 - QuickCheck 76 - ]; 77 - executableHaskellDepends = libraryHaskellDepends; 78 - testHaskellDepends = [ HUnit ] ++ libraryHaskellDepends; 79 - homepage = "https://github.com/olivierverdier/zsh-git-prompt#readme"; 80 - description = "Informative git prompt for zsh"; 81 - license = lib.licenses.mit; 82 - maintainers = [ lib.maintainers.league ]; 83 - } 84 - ) { }
+1
pkgs/top-level/aliases.nix
··· 2554 2554 zplugin = throw "'zplugin' has been renamed to/replaced by 'zinit'"; # Converted to throw 2024-10-17 2555 2555 zk-shell = throw "zk-shell has been removed as it was broken and unmaintained"; # Added 2024-08-10 2556 2556 zkg = throw "'zkg' has been replaced by 'zeek'"; 2557 + zsh-git-prompt = throw "zsh-git-prompt was removed as it is unmaintained upstream"; # Added 2025-08-28 2557 2558 zsh-history = throw "'zsh-history' has been removed as it was unmaintained"; # Added 2025-04-17 2558 2559 zq = zed.overrideAttrs (old: { 2559 2560 meta = old.meta // {
-1
pkgs/top-level/release-haskell.nix
··· 384 384 xmonadctl 385 385 xmonad-with-packages 386 386 yi 387 - zsh-git-prompt 388 387 ; 389 388 390 389 # Members of the elmPackages set that are Haskell derivations