Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
915 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
})