blob: 1c292b27a7bb1f6f771cd2bee41aaa6c85021adc (
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
39
40
41
42
43
44
45
46
|
{
lib,
fetchFromGitHub,
rustPlatform,
git,
nix-update-script,
pkg-config,
openssl,
dbus,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ockam";
version = "0.157.0";
src = fetchFromGitHub {
owner = "build-trust";
repo = "ockam";
rev = "ockam_v${finalAttrs.version}";
hash = "sha256-o895VPlUGmLUsIeOnShjCetKoS/4x0nbEKxipEbuBu4=";
};
cargoHash = "sha256-hHbMMi4nuTORUPEKEo3OiQg7y12+cXHzUAkh3ApYx5s=";
nativeBuildInputs = [
git
pkg-config
];
buildInputs = [
openssl
dbus
];
passthru.updateScript = nix-update-script { };
# too many tests fail for now
doCheck = false;
cargoBuildFlags = [ "-p ockam" ];
meta = {
description = "Orchestrate end-to-end encryption, cryptographic identities, mutual authentication, and authorization policies between distributed applications – at massive scale";
homepage = "https://github.com/build-trust/ockam";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ happysalada ];
};
})
|