mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-12-20 10:16:30 +00:00
27 lines
568 B
Nix
27 lines
568 B
Nix
{ lib
|
|
, makeWrapper
|
|
, nixosTests
|
|
, protobuf
|
|
, rustPlatform
|
|
, stdenv
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "relay";
|
|
version = "0.4.0-beta.1";
|
|
src = ./.;
|
|
cargoSha256 = "Kbicf3alz/QZJppBH4+dRhIf4extIONwBYnGF3TtqJ4=";
|
|
|
|
PROTOC = "${protobuf}/bin/protoc";
|
|
PROTOC_INCLUDE = "${protobuf}/include";
|
|
|
|
nativeBuildInputs = [ ];
|
|
|
|
passthru.tests = { inherit (nixosTests) relay; };
|
|
|
|
meta = with lib; {
|
|
description = "A simple image hosting service";
|
|
homepage = "https://git.asonix.dog/asonix/relay";
|
|
license = with licenses; [ agpl3Plus ];
|
|
};
|
|
}
|