2022-09-06 08:15:34 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bob";
|
2023-02-12 09:34:18 +00:00
|
|
|
version = "0.7.2";
|
2022-09-06 08:15:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benchkram";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-02-12 09:34:18 +00:00
|
|
|
hash = "sha256-yPdAf/j/vpQ2j+Zp8D7us7yaiDs47sKFPHZgggDjT3w=";
|
2022-09-06 08:15:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
|
|
|
|
2023-02-12 09:34:18 +00:00
|
|
|
vendorHash = "sha256-6wAbwZKm8RTMt2Wm90N3AYZREipdo7Dq+XTWsLANd88=";
|
2022-09-06 08:15:34 +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 ];
|
|
|
|
};
|
|
|
|
}
|