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