12 rustPlatform.buildRustPackage rec {
13 pname = "nostr-rs-relay";
15 src = fetchFromGitHub {
17 repo = "nostr-rs-relay";
19 hash = "sha256-YgYi387b1qlGpjupqgGuLx8muHJ1iMx1sH82UW3TsQg=";
22 cargoHash = "sha256-CwyX8VlzH/y5LZtaMDd/4yWGCZLczc9bW4AqUzQFFKU=";
24 buildInputs = [ openssl.dev ]
25 ++ lib.optionals stdenv.isDarwin [
27 darwin.apple_sdk.frameworks.Security
28 darwin.apple_sdk.frameworks.SystemConfiguration
32 pkg-config # for openssl
37 description = "Nostr relay written in Rust";
38 homepage = "https://sr.ht/~gheartsfield/nostr-rs-relay/";
39 changelog = "https://github.com/scsibug/nostr-rs-relay/releases/tag/${version}";
40 maintainers = with maintainers; [ jurraca ];
41 license = licenses.mit;