nixpkgs/pkgs/development/tools/govers/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

22 lines
468 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "govers";
version = "unstable-2016-06-23";
goPackagePath = "github.com/rogpeppe/govers";
src = fetchFromGitHub {
owner = "rogpeppe";
repo = "govers";
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
sha256 = "sha256-lpc8wFKAB+A8mBm9q3qNzTM8ktFS1MYdIvZVFP0eiIs=";
};
dontRenameImports = true;
doCheck = false; # fails, silently
meta.mainProgram = "govers";
}