blob: 05a2e84583f58140fbb5a924018fff1fd79a9493 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
lib,
rustPlatform,
fetchFromGitLab,
pkg-config,
protobuf,
openssl,
zlib,
nix-update-script,
cloud-utils,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "seconlay";
version = "0-unstable-2026-07-13";
src = fetchFromGitLab {
group = "alasca.cloud";
owner = "scl";
repo = "scl-management";
rev = "0157c1bb0d8711f1b9903db4207e5da30db1e16a";
hash = "sha256-ZywfeqTln++Zz6/ygImzwuZG28lzmLqqIoqL+U6KNo4=";
};
cargoHash = "sha256-aX5HL/zDdrQ+V4vCYZrqlO2vNWuvF4GW2P30jtbv1tE=";
nativeBuildInputs = [
pkg-config
protobuf
];
buildInputs = [
openssl
zlib
];
nativeCheckInputs = [ cloud-utils ];
doCheck = true;
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Minimal IaaS system with strong tenant separation and small TCB";
longDescription = ''
Seconlay (commonly abbreviated as SCL) is a minimal IaaS system built in Rust with strong tenant separation and small TCB.
It is intended for providing an easy-to-use API to manage a VM-based separation layer underlying to user-facing infrastructure such as tenant-specific Kubernetes clusters.
'';
homepage = "https://alasca.cloud/projects/seconlay/";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [
malik
messemar
];
mainProgram = "sclctl";
platforms = [
"x86_64-linux"
"aarch64-linux"
];
};
})
|