mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-22 01:21:06 +00:00
25 lines
502 B
Nix
25 lines
502 B
Nix
{ lib
|
|
, nixosTests
|
|
, protobuf
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "relay";
|
|
version = "0.3.98";
|
|
src = ./.;
|
|
cargoLock.lockFile = ./Cargo.lock;
|
|
|
|
PROTOC = "${protobuf}/bin/protoc";
|
|
PROTOC_INCLUDE = "${protobuf}/include";
|
|
|
|
nativeBuildInputs = [ ];
|
|
|
|
passthru.tests = { inherit (nixosTests) relay; };
|
|
|
|
meta = with lib; {
|
|
description = "An ActivityPub relay";
|
|
homepage = "https://git.asonix.dog/asonix/relay";
|
|
license = with licenses; [ agpl3Plus ];
|
|
};
|
|
}
|