1 { lib, buildGoModule, fetchFromGitHub, nix-update-script
12 src = fetchFromGitHub {
15 rev = "releases/mcap-cli/v${version}";
16 hash = "sha256-UdR5A2ZtCcnQIjPxlwcntZb78CXzJBvRy73GJUqvjuM=";
19 vendorHash = "sha256-ofJYarmnOHONu2lZ76GvSua0ViP1gr6968xAuQ/VRNk=";
21 modRoot = "go/cli/mcap";
25 # copy the local versions of the workspace modules
28 rm -rf vendor/github.com/foxglove/mcap/go/{mcap,ros}
29 cp -r ../../{mcap,ros} vendor/github.com/foxglove/mcap/go
33 # requires git-lfs and network
34 # https://github.com/foxglove/mcap/issues/895
35 "-skip=TestCat|TestInfo"
39 updateScript = nix-update-script { };
43 description = "MCAP CLI tool to inspect and fix MCAP files";
44 homepage = "https://github.com/foxglove/mcap";
45 license = with licenses; [ mit ];
46 maintainers = with maintainers; [ squalus therishidesai ];