relay/relay.nix

24 lines
451 B
Nix
Raw Permalink Normal View History

2023-03-23 18:51:23 +00:00
{ lib
, nixosTests
, rustPlatform
}:
rustPlatform.buildRustPackage {
pname = "relay";
2024-05-01 20:45:53 +00:00
version = "0.3.113";
2023-03-23 18:51:23 +00:00
src = ./.;
2023-06-03 18:10:19 +00:00
cargoLock.lockFile = ./Cargo.lock;
2023-03-23 18:51:23 +00:00
RUSTFLAGS = "--cfg tokio_unstable";
2023-03-23 18:51:23 +00:00
nativeBuildInputs = [ ];
passthru.tests = { inherit (nixosTests) relay; };
meta = with lib; {
2023-07-27 18:14:46 +00:00
description = "An ActivityPub relay";
2023-03-23 18:51:23 +00:00
homepage = "https://git.asonix.dog/asonix/relay";
license = with licenses; [ agpl3Plus ];
};
}