2022-09-22 12:36:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bob";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.8.2";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benchkram";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-zmWfOLBb+GWw9v6LdCC7/WaP1Wz7UipPwqkmI1+rG8Q=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
vendorHash = "sha256-S1XUgjdSVTWXehOLCxXcvj0SH12cxqvYadVlCw/saF4=";
|
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;
|
|
|
|
maintainers = with maintainers; [ zuzuleinen ];
|
|
|
|
};
|
|
|
|
}
|