Merge pull request #56996 from qolii/zsh_git_prompt_change

zsh-git-prompt: switch to a new fork.
This commit is contained in:
Silvan Mosberger 2019-03-08 23:18:53 +01:00 committed by GitHub
commit f4a8b3d71c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@
# More details are in share/doc/zsh-git-prompt/README.md, once
# installed.
#
{ fetchgit
{ fetchFromGitHub
, haskell
, python
, git
@ -36,11 +36,12 @@ haskellPackages.callPackage
({ mkDerivation, base, HUnit, parsec, process, QuickCheck, stdenv }:
mkDerivation rec {
pname = "zsh-git-prompt";
version = "0.5";
src = fetchgit {
url = "https://github.com/olivierverdier/zsh-git-prompt.git";
rev = "0a6c8b610e799040b612db8888945f502a2ddd9d";
sha256 = "19x1gf1r6l7r6i7vhhsgzcbdlnr648jx8j84nk2zv1b8igh205hw";
version = "0.4z"; # While we await a real 0.5 release.
src = fetchFromGitHub {
owner = "starcraftman";
repo = "zsh-git-prompt";
rev = "11b83ba3b85d14c66cf2ab79faefab6d838da28e";
sha256 = "04aylsjfb03ckw219plkzpyiq4j9g66bjxa5pa56h1p7df6pjssb";
};
prePatch = ''
substituteInPlace zshrc.sh \