git-extras: use fetchFromGitHub

wip/yesman
Sandro Jäckel 3 years ago
parent d32b77bacc
commit ac6988b577
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 10
      pkgs/applications/version-management/git-and-tools/git-extras/default.nix

@ -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…
Cancel
Save