godef: Use fetchFromGitHub
This commit is contained in:
parent
9bece0f471
commit
6c26419f5e
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchgit }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "godef-${version}";
|
||||
@ -8,9 +8,10 @@ buildGoPackage rec {
|
||||
goPackagePath = "github.com/rogpeppe/godef";
|
||||
subPackages = [ "." ];
|
||||
|
||||
src = fetchgit {
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
url = "https://github.com/rogpeppe/godef";
|
||||
owner = "rogpeppe";
|
||||
repo = "godef";
|
||||
sha256 = "1bpzqnb9fsk1pjjap3gm94pqch1jz02rfah9hg8iqbfm0dzpy31b";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user