initial commit

This commit is contained in:
2025-11-21 21:12:03 +01:00
commit 60257c85ea
7 changed files with 185 additions and 0 deletions

19
nix/mosh-me.nix Normal file
View File

@@ -0,0 +1,19 @@
{
cmake,
lib,
ninja,
spdlog,
stdenv,
pkg-config,
ffmpeg,
}:
stdenv.mkDerivation (finalAttrs: {
name = "mosh-me";
src = ../.;
nativeBuildInputs = [cmake ninja pkg-config];
buildInputs = [ffmpeg spdlog];
cmakeFlags = [
(lib.cmakeBool "BUILD_TESTING" finalAttrs.doCheck)
];
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
})