2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchgit }:
|
2016-06-05 15:48:15 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "govers-${version}";
|
|
|
|
version = "20150109-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
|
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";
|
|
|
|
sha256 = "0din5a7nff6hpc4wg0yad2nwbgy4q1qaazxl8ni49lkkr4hyp8pc";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontRenameImports = true;
|
2018-04-25 04:20:18 +01:00
|
|
|
|
|
|
|
doCheck = false; # fails, silently
|
|
|
|
|
2016-06-05 15:48:15 +01:00
|
|
|
}
|