mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 10:40:33 +03:00
3a8d85fef1
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
31 lines
746 B
Nix
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 ];
|
|
};
|
|
}
|