Unverified Commit e0302e79 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

buffrs: init at 0.9.0 (#396852)

parents 7b4a7263 98ec4b1a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5400,6 +5400,12 @@
    githubId = 64467514;
    name = "Daniel Krywult";
  };
  danilobuerger = {
    email = "info@danilobuerger.de";
    github = "danilobuerger";
    githubId = 996231;
    name = "Danilo Bürger";
  };
  daniyalsuri6 = {
    email = "daniyal.suri@gmail.com";
    github = "daniyalsuri6";
+37 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  rustPlatform,
}:

rustPlatform.buildRustPackage rec {
  pname = "buffrs";
  version = "0.9.0";

  src = fetchFromGitHub {
    owner = "helsing-ai";
    repo = "buffrs";
    tag = "v${version}";
    hash = "sha256-c9GjSqVp2wEFgoy8j+Gy5FA3SG4JYEfeSwPWjW81w3Y=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-E7kskULt2eOY+mZjh6jAftj8ciExUF7d1z1pePTBzvQ=";

  # Disabling tests meant to work over the network, as they will fail
  # inside the builder.
  checkFlags = [
    "--skip=cmd::install::upgrade::fixture"
    "--skip=cmd::publish::lib::fixture"
    "--skip=cmd::publish::local::fixture"
    "--skip=cmd::tuto::fixture"
  ];

  meta = {
    description = "Modern protobuf package management";
    homepage = "https://github.com/helsing-ai/buffrs";
    license = lib.licenses.asl20;
    mainProgram = "buffrs";
    maintainers = with lib.maintainers; [ danilobuerger ];
  };
}