initial commit
This commit is contained in:
19
nix/mosh-me.nix
Normal file
19
nix/mosh-me.nix
Normal 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;
|
||||
})
|
||||
Reference in New Issue
Block a user