gopls: switch to fetchFromGitHub

hopefully r-ryantm can now update the package
conduit-nginx
Sandro Jäckel 2021-10-21 10:18:15 +02:00
parent 44745d496c
commit f25046e4cc
No known key found for this signature in database
GPG Key ID: B1763F8651144063
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
{ lib, buildGoModule, fetchgit }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gopls";
version = "0.7.3";
src = fetchgit {
url = "https://go.googlesource.com/tools";
src = fetchFromGitHub {
owner = "golang";
repo = "tools";
rev = "gopls/v${version}";
name = "gopls-source-${version}";
sha256 = "sha256-aaRaStQ35a/SK4YIR5rjvp8gPxvoNuhLh2AGbr0c6p4=";
};