mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
gotags: switch to fetchFromGitHub
This commit is contained in:
parent
9aeb5a8d01
commit
b6ea3447c8
@ -1,15 +1,15 @@
|
||||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "gotags";
|
||||
version = "20150803-${lib.strings.substring 0 7 rev}";
|
||||
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
|
||||
version = "unstable-2015-08-03";
|
||||
|
||||
goPackagePath = "github.com/jstemmer/gotags";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/jstemmer/gotags";
|
||||
sha256 = "071wyq90b06xlb3bb0l4qjz1gf4nnci4bcngiddfcxf2l41w1vja";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jstemmer";
|
||||
repo = "gotags";
|
||||
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
|
||||
sha256 = "sha256-Su7AA6HCdeZai8+yRSKzlrgXvsSEgrXGot2ABRL2PBw=";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user