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
# installed.
#
{ fetchgit
{ fetchFromGitHub
, haskell
, python
, git
@ -36,9 +36,10 @@ haskellPackages.callPackage
({ mkDerivation, base, HUnit, parsec, process, QuickCheck, stdenv }:
mkDerivation rec {
pname = "zsh-git-prompt";
version = "0.5";
src = fetchgit {
url = "https://github.com/starcraftman/zsh-git-prompt.git";
version = "0.4z"; # While we await a real 0.5 release.
src = fetchFromGitHub {
owner = "starcraftman";
repo = "zsh-git-prompt";
rev = "11b83ba3b85d14c66cf2ab79faefab6d838da28e";
sha256 = "04aylsjfb03ckw219plkzpyiq4j9g66bjxa5pa56h1p7df6pjssb";
};