18 rustPlatform.buildRustPackage {
19 inherit pname version;
21 src = fetchFromGitHub {
22 owner = "build-trust";
24 rev = "ockam_v${version}";
25 hash = "sha256-AY0i7qXA7JXfIEY0htmL+/yn71xAuh7WowXOs2fD6n8=";
28 cargoHash = "sha256-gAl2es8UFVFv40sMY++SiDGjCMdL0XDN4PeSV7VlGmQ=";
29 nativeBuildInputs = [ git pkg-config ];
30 buildInputs = [ openssl dbus ]
31 ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit Security ];
33 passthru.updateScript = nix-update-script { };
35 # too many tests fail for now
39 description = "Orchestrate end-to-end encryption, cryptographic identities, mutual authentication, and authorization policies between distributed applications – at massive scale";
40 homepage = "https://github.com/build-trust/ockam";
41 license = licenses.mpl20;
42 maintainers = with maintainers; [ happysalada ];