Switch over to fetchFromGitHub, and update version to reflect temporary nature.

This commit is contained in:
qolii 2019-03-08 13:14:14 -08:00
parent f4d1a4e899
commit d7310a8092

View File

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