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

21 lines
472 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoPackage, fetchgit }:
2016-06-05 15:48:15 +01:00
buildGoPackage rec {
pname = "govers";
version = "20160623-${lib.strings.substring 0 7 rev}";
2018-12-05 13:50:35 +00:00
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
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;
doCheck = false; # fails, silently
2016-06-05 15:48:15 +01:00
}