blob: 1a079b4905b217c53dd8303c3dc930e3214d398e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, sqlite, ... }:
rustPlatform.buildRustPackage rec {
pname = "mollysocket";
version = "1.5.3";
src = fetchFromGitHub {
owner = "mollyim";
repo = "mollysocket";
rev = "${version}";
hash = "sha256-2OWkPTbrD4oXHoB+qszVjLr0e/AUuNnuaYXZ3kOyuxg=";
};
cargoHash = "sha256-fVH5gzQYzW6uIBO8Fob04IiVyxHDh+Pr21rSow40qLk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl sqlite ];
checkFlags = [
# These tests try to contact DNS
"--skip=config::tests::check_wildcard_endpoint"
"--skip=utils::post_allowed::tests::test_allowed"
"--skip=utils::post_allowed::tests::test_not_allowed"
"--skip=utils::post_allowed::tests::test_post"
"--skip=ws::tls::tests::connect_untrusted_server"
"--skip=ws::tls::tests::connect_trusted_server"
];
meta = {
description =
"MollySocket allows getting Signal notifications via UnifiedPush.";
homepage = "https://github.com/mollyim/mollysocket";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ networkexception ];
mainProgram = "mollysocket";
};
}
|