git-extras: use fetchFromGitHub
This commit is contained in:
parent
d32b77bacc
commit
ac6988b577
1 changed files with 6 additions and 4 deletions
|
@ -1,11 +1,13 @@
|
|||
{ lib, stdenv, fetchzip, unixtools, which }:
|
||||
{ lib, stdenv, fetchFromGitHub, unixtools, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "git-extras";
|
||||
version = "6.1.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/tj/git-extras/archive/${version}.tar.gz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tj";
|
||||
repo = "git-extras";
|
||||
rev = version;
|
||||
sha256 = "12ff9rhgqd71xm72r385hx0h8g75hz0ag0adzqcwfa54k0lhrrrz";
|
||||
};
|
||||
|
||||
|
@ -29,6 +31,6 @@ stdenv.mkDerivation rec {
|
|||
description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.spwhitt maintainers.cko ];
|
||||
maintainers = with maintainers; [ spwhitt cko ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue