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
51 lines
915 B
Nix
51 lines
915 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
cli11,
|
|
gtest,
|
|
libcap,
|
|
libseccomp,
|
|
nlohmann_json,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "linyaps-box";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenAtom-Linyaps";
|
|
repo = "linyaps-box";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-Pdhb7dwAabDfhxmEifZblxEi9F4OUIDPx1X07f2AwPE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
cli11
|
|
gtest
|
|
libcap
|
|
libseccomp
|
|
nlohmann_json
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "linyaps-box_ENABLE_SECCOMP" true)
|
|
];
|
|
|
|
meta = {
|
|
description = "Simple OCI runtime mainly used by linyaps";
|
|
homepage = "https://github.com/OpenAtom-Linyaps/linyaps-box";
|
|
license = lib.licenses.lgpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "ll-box";
|
|
maintainers = with lib.maintainers; [ wineee ];
|
|
};
|
|
})
|