3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from Stunkymonkey/govers-fetchFromGitHub

govers: switch to fetchFromGitHub
This commit is contained in:
Jörg Thalheim 2022-03-09 15:01:03 +00:00 committed by GitHub
commit 801c7e4cc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;