Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 cmake, 3 lib, 4 ninja, 5 stdenv, 6}: 7 8stdenv.mkDerivation { 9 name = "hello-cpp"; 10 src = ./src; 11 nativeBuildInputs = [ 12 cmake 13 ninja 14 ]; 15 meta = { 16 description = "Basic sanity check that C++ and cmake infrastructure are working"; 17 platforms = lib.platforms.all; 18 maintainers = stdenv.meta.maintainers or [ ]; 19 mainProgram = "hello-cpp"; 20 }; 21}