13 rustPlatform.buildRustPackage rec {
14 pname = "mollysocket";
17 src = fetchFromGitHub {
21 hash = "sha256-F80XRQn3h1Y6dE8PVLGMTY29yZomrwqFAsm7h8euHw8=";
24 cargoHash = "sha256-ZHS/EJBhT1H5MvuqdPtmf95ctuLft4qVsZzPVeJBR5k=";
35 ++ lib.optionals stdenv.hostPlatform.isDarwin [
36 darwin.apple_sdk.frameworks.Security
40 # tests interact with Signal servers
41 "--skip=config::tests::check_wildcard_endpoint"
42 "--skip=utils::post_allowed::tests::test_allowed"
43 "--skip=utils::post_allowed::tests::test_not_allowed"
44 "--skip=utils::post_allowed::tests::test_post"
45 "--skip=ws::tls::tests::connect_untrusted_server"
46 "--skip=ws::tls::tests::connect_trusted_server"
50 inherit (nixosTests) mollysocket;
54 changelog = "https://github.com/mollyim/mollysocket/releases/tag/${version}";
55 description = "Get Signal notifications via UnifiedPush";
56 homepage = "https://github.com/mollyim/mollysocket";
57 license = lib.licenses.agpl3Plus;
58 mainProgram = "mollysocket";
59 maintainers = with lib.maintainers; [ dotlambda ];