git-extras: use fetchFromGitHub

This commit is contained in:
Sandro Jäckel 2021-02-12 04:17:31 +01:00
parent d32b77bacc
commit ac6988b577
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 ];
};
}