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