mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-24 10:31:04 +00:00
23 lines
451 B
Nix
23 lines
451 B
Nix
{ lib
|
|
, nixosTests
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "relay";
|
|
version = "0.3.114";
|
|
src = ./.;
|
|
cargoLock.lockFile = ./Cargo.lock;
|
|
|
|
RUSTFLAGS = "--cfg tokio_unstable";
|
|
|
|
nativeBuildInputs = [ ];
|
|
|
|
passthru.tests = { inherit (nixosTests) relay; };
|
|
|
|
meta = with lib; {
|
|
description = "An ActivityPub relay";
|
|
homepage = "https://git.asonix.dog/asonix/relay";
|
|
license = with licenses; [ agpl3Plus ];
|
|
};
|
|
}
|