nixpkgs-suyu/pkgs/development/tools/govers/default.nix

21 lines
484 B
Nix
Raw Normal View History

{ 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";
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;
doCheck = false; # fails, silently
2016-06-05 16:48:15 +02:00
}