1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "buffrs";
9 version = "0.11.0";
10
11 src = fetchFromGitHub {
12 owner = "helsing-ai";
13 repo = "buffrs";
14 tag = "v${version}";
15 hash = "sha256-VHzPOFOkwz3QlDt25gBbishM4ujtEPFjA21WuiNVw00=";
16 };
17
18 cargoHash = "sha256-/cdBt23VSmwN/C2XdHeeRjUSqLWiEheqVl+hfEDKIP0=";
19
20 # Disabling tests meant to work over the network, as they will fail
21 # inside the builder.
22 checkFlags = [
23 "--skip=cmd::install::upgrade::fixture"
24 "--skip=cmd::publish::lib::fixture"
25 "--skip=cmd::publish::local::fixture"
26 "--skip=cmd::tuto::fixture"
27 ];
28
29 meta = {
30 description = "Modern protobuf package management";
31 homepage = "https://github.com/helsing-ai/buffrs";
32 license = lib.licenses.asl20;
33 mainProgram = "buffrs";
34 maintainers = with lib.maintainers; [ danilobuerger ];
35 };
36}