2022-09-06 09:15:34 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bob";
|
2023-04-16 05:20:00 +01:00
|
|
|
version = "0.8.1";
|
2022-09-06 09:15:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benchkram";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-16 05:20:00 +01:00
|
|
|
hash = "sha256-KRg2fHDI562WG4aOpUI/+ColNYJsU/IuHu+/gD++2G4=";
|
2022-09-06 09:15:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
|
|
|
|
2023-04-11 09:43:42 +01:00
|
|
|
vendorHash = "sha256-S1XUgjdSVTWXehOLCxXcvj0SH12cxqvYadVlCw/saF4=";
|
2022-09-06 09:15:34 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|