2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchgit }:
|
2016-06-05 15:48:15 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "govers-${version}";
|
2018-12-05 13:50:35 +00:00
|
|
|
version = "20160623-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
2018-04-25 04:20:18 +01:00
|
|
|
|
2016-06-05 15:48:15 +01:00
|
|
|
goPackagePath = "github.com/rogpeppe/govers";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/rogpeppe/govers";
|
2018-12-05 13:50:35 +00:00
|
|
|
sha256 = "12w83vyi8mgn48fwdm2js693qcydimxapg8rk0yf01w0ab03r5wn";
|
2016-06-05 15:48:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
dontRenameImports = true;
|
2018-04-25 04:20:18 +01:00
|
|
|
|
|
|
|
doCheck = false; # fails, silently
|
|
|
|
|
2016-06-05 15:48:15 +01:00
|
|
|
}
|