govers: switch to fetchFromGitHub
This commit is contained in:
parent
f9ab767d67
commit
d951853737
|
@ -1,16 +1,16 @@
|
||||||
{ lib, buildGoPackage, fetchgit }:
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "govers";
|
pname = "govers";
|
||||||
version = "20160623-${lib.strings.substring 0 7 rev}";
|
version = "unstable-2016-06-23";
|
||||||
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/rogpeppe/govers";
|
goPackagePath = "github.com/rogpeppe/govers";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
owner = "rogpeppe";
|
||||||
url = "https://github.com/rogpeppe/govers";
|
repo = "govers";
|
||||||
sha256 = "12w83vyi8mgn48fwdm2js693qcydimxapg8rk0yf01w0ab03r5wn";
|
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
||||||
|
sha256 = "sha256-lpc8wFKAB+A8mBm9q3qNzTM8ktFS1MYdIvZVFP0eiIs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontRenameImports = true;
|
dontRenameImports = true;
|
||||||
|
|
Loading…
Reference in a new issue