depot/third_party/nixpkgs/pkgs/by-name/he/hello-cpp/package.nix

18 lines
358 B
Nix

{
cmake,
lib,
ninja,
stdenv,
}:
stdenv.mkDerivation {
name = "hello-cpp";
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";
};
}