depot/third_party/nixpkgs/pkgs/development/tools/build-managers/bob/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

30 lines
746 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bob";
version = "0.7.0";
src = fetchFromGitHub {
owner = "benchkram";
repo = pname;
rev = version;
hash = "sha256-37VhzYxVrt+w1XTDXzKAkJT43TQSyCmX9SAoNnk+o3w=";
};
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
vendorHash = "sha256-dmMoFyl9IX0QS6sNC6qzC4DQQQfvxmxuUeUfx0DBd/I=";
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 ];
};
}