summaryrefslogtreecommitdiff
path: root/pkgs/by-name/he/hello-cpp/package.nix
blob: 0d17f17ad7e57d0bd0f99b73d0051dbbf76e2f81 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  cmake,
  lib,
  ninja,
  stdenv,
}:

stdenv.mkDerivation {
  pname = "hello-cpp";
  version = lib.trivial.version;
  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";
  };
}