nixpkgs/pkgs/development/tools/build-managers/bob/default.nix
Andrei Boar 3a8d85fef1 bob: init at 0.5.3
bob: format code

Revert "bob: format code"

This reverts commit 64aaee9a258c63284e043336d0f06c600df97ed7.

bob: format default.nix

bob: fix formatting for zuzuleinen in maintainers

bob: cleanup maintainers

bob: remove CGO_ENABLED=0
2022-09-11 18:54:24 +03:00

31 lines
746 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bob";
version = "0.5.3";
src = fetchFromGitHub {
owner = "benchkram";
repo = pname;
rev = version;
hash = "sha256-JG1fysCqqd/MwpNhKJwLr4cTGq4/88f9OMMapb+r3bc=";
};
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
vendorHash = "sha256-R+zXGR5isoo76oc4lsFf9uCM0Kyi8dQiKEg4BUxtv+k=";
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 ];
};
}