Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1.0 KiB
Nix
50 lines
1.0 KiB
Nix
{
|
||
lib,
|
||
fetchFromGitHub,
|
||
rustPlatform,
|
||
git,
|
||
nix-update-script,
|
||
pkg-config,
|
||
openssl,
|
||
dbus,
|
||
}:
|
||
|
||
let
|
||
pname = "ockam";
|
||
version = "0.157.0";
|
||
in
|
||
rustPlatform.buildRustPackage {
|
||
inherit pname version;
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "build-trust";
|
||
repo = "ockam";
|
||
rev = "ockam_v${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 = with lib; {
|
||
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 = licenses.mpl20;
|
||
maintainers = with maintainers; [ happysalada ];
|
||
};
|
||
}
|