about summary refs log tree commit diff
path: root/pkgs/development/tools/govers/default.nix
blob: 440b5e2eb0b7169599911a409c0f05fea79ed688 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, buildGoPackage, fetchgit }:

buildGoPackage rec {
  name = "govers-${version}";
  version = "20150109-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";

  goPackagePath = "github.com/rogpeppe/govers";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/rogpeppe/govers";
    sha256 = "0din5a7nff6hpc4wg0yad2nwbgy4q1qaazxl8ni49lkkr4hyp8pc";
  };

  dontRenameImports = true;

  doCheck = false; # fails, silently

}