2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchgit }:
|
2016-06-05 15:48:15 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "govers";
|
2021-01-23 12:26:19 +00:00
|
|
|
version = "20160623-${lib.strings.substring 0 7 rev}";
|
2018-12-05 13:50:35 +00:00
|
|
|
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
|
|
|
}
|