1 { lib, buildPythonPackage, fetchFromGitHub, rustPlatform, setuptools-rust }:
3 buildPythonPackage rec {
4 pname = "matrix-http-rendezvous-synapse";
8 src = fetchFromGitHub {
10 repo = "rust-http-rendezvous-server";
12 sha256 = "sha256-minwa+7HLTNSBtBtt5pnoHsFnNEh834nsVw80+FIQi8=";
16 cp ${./rendezvous-Cargo.lock} Cargo.lock
19 cargoDeps = rustPlatform.fetchCargoTarball {
20 inherit src postPatch;
21 name = "${pname}-${version}";
22 hash = "sha256-TyxDq6YxZUArRj5gpjB1afDQgtUlCVer3Uhq6YKvVYM=";
27 ] ++ (with rustPlatform; [
32 buildAndTestSubdir = "synapse";
35 pythonImportsCheck = [ "matrix_http_rendezvous_synapse" ];
38 description = "Implementation of MSC3886: Simple rendezvous capability";
39 homepage = "https://github.com/matrix-org/rust-http-rendezvous-server";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ SuperSandro2000 ];