23 lines
403 B
Nix
23 lines
403 B
Nix
{
|
|
cmake,
|
|
lib,
|
|
ninja,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "hello-cpp";
|
|
version = lib.trivial.release;
|
|
src = ./src;
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
];
|
|
meta = {
|
|
description = "Basic sanity check that C++ and cmake infrastructure are working";
|
|
platforms = lib.platforms.all;
|
|
maintainers = stdenv.meta.maintainers or [ ];
|
|
mainProgram = "hello-cpp";
|
|
};
|
|
}
|