mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
21 lines
464 B
Nix
21 lines
464 B
Nix
{ lib, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "govers";
|
|
version = "20160623-${lib.strings.substring 0 7 rev}";
|
|
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
|
|
|
goPackagePath = "github.com/rogpeppe/govers";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/rogpeppe/govers";
|
|
sha256 = "12w83vyi8mgn48fwdm2js693qcydimxapg8rk0yf01w0ab03r5wn";
|
|
};
|
|
|
|
dontRenameImports = true;
|
|
|
|
doCheck = false; # fails, silently
|
|
|
|
}
|