Skip to content

Commit

Permalink
godef: Use fetchFromGitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
rvolosatovs committed Feb 19, 2019
1 parent 9bece0f commit 6c26419
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/tools/godef/default.nix
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchgit }:
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "godef-${version}";
Expand All @@ -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";
};

Expand Down

0 comments on commit 6c26419

Please sign in to comment.