mcap-cli: 0.0.46 -> 0.0.54
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "0.0.46";
|
||||
version = "0.0.54";
|
||||
in
|
||||
buildGoModule {
|
||||
|
||||
@@ -20,10 +20,10 @@ buildGoModule {
|
||||
repo = "mcap";
|
||||
owner = "foxglove";
|
||||
rev = "releases/mcap-cli/v${version}";
|
||||
hash = "sha256-UdR5A2ZtCcnQIjPxlwcntZb78CXzJBvRy73GJUqvjuM=";
|
||||
hash = "sha256-b1Ngj8k2ZkI47lTwbLWTojtoMWQ54eJ8QN5Qd5ot9n4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ofJYarmnOHONu2lZ76GvSua0ViP1gr6968xAuQ/VRNk=";
|
||||
vendorHash = "sha256-twuXJXiGhjTqlEZ3xD8G9CruSLxFC33PMs2GZadl1Ow=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
@@ -31,7 +31,20 @@ buildGoModule {
|
||||
|
||||
modRoot = "go/cli/mcap";
|
||||
|
||||
env.GOWORK = "off";
|
||||
tags = [
|
||||
"sqlite_omit_load_extension"
|
||||
]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
"netgo"
|
||||
"osusergo"
|
||||
];
|
||||
|
||||
ldflags = [ "-X github.com/foxglove/mcap/go/cli/mcap/cmd.Version=${version}" ];
|
||||
|
||||
env = {
|
||||
CGO_ENABLED = "1";
|
||||
GOWORK = "off";
|
||||
};
|
||||
|
||||
# copy the local versions of the workspace modules
|
||||
postConfigure = ''
|
||||
@@ -43,7 +56,7 @@ buildGoModule {
|
||||
checkFlags = [
|
||||
# requires git-lfs and network
|
||||
# https://github.com/foxglove/mcap/issues/895
|
||||
"-skip=TestCat|TestInfo"
|
||||
"-skip=TestCat|TestInfo|TestRequiresDuplicatedSchemasForIndexedMessages|TestPassesIndexedMessagesWithRepeatedSchemas|TestSortFile"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) (
|
||||
|
||||
Reference in New Issue
Block a user