7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
14 rev = "release-${version}";
15 hash = "sha256-pmgcULTXhl83+Wc8ZsGebnJ1t0XybHhUEJxDnEZE5x8=";
25 "-DYAML_CPP_BUILD_TOOLS=${lib.boolToString doCheck}"
26 "-DBUILD_SHARED_LIBS=${lib.boolToString (!stdenv.hostPlatform.isStatic)}"
29 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
32 description = "YAML parser and emitter for C++";
33 homepage = "https://github.com/jbeder/yaml-cpp";
34 license = licenses.mit;
35 platforms = platforms.all;
36 maintainers = with maintainers; [ OPNA2608 ];