2022-09-22 12:36:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bob";
|
2022-11-02 22:02:43 +00:00
|
|
|
version = "0.6.3";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benchkram";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-11-02 22:02:43 +00:00
|
|
|
hash = "sha256-jZDyZVjo4Purt2tabJew5N4MZmLXli6gqBTejv5FGJM=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
vendorHash = "sha256-dmMoFyl9IX0QS6sNC6qzC4DQQQfvxmxuUeUfx0DBd/I=";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
excludedPackages = [ "example/server-db" "test/e2e" "tui-example" ];
|
|
|
|
|
|
|
|
# tests require network access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A build system for microservices";
|
|
|
|
homepage = "https://bob.build";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ zuzuleinen ];
|
|
|
|
};
|
|
|
|
}
|