govers: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-09 11:54:25 +01:00
parent f9ab767d67
commit d951853737

View File

@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchgit }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "govers";
version = "20160623-${lib.strings.substring 0 7 rev}";
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
version = "unstable-2016-06-23";
goPackagePath = "github.com/rogpeppe/govers";
src = fetchgit {
inherit rev;
url = "https://github.com/rogpeppe/govers";
sha256 = "12w83vyi8mgn48fwdm2js693qcydimxapg8rk0yf01w0ab03r5wn";
src = fetchFromGitHub {
owner = "rogpeppe";
repo = "govers";
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
sha256 = "sha256-lpc8wFKAB+A8mBm9q3qNzTM8ktFS1MYdIvZVFP0eiIs=";
};
dontRenameImports = true;