{ lib , stdenv , fetchFromGitHub , cmake }: stdenv.mkDerivation rec { pname = "plog"; version = "1.1.9"; outputs = [ "out" "dev" ]; src = fetchFromGitHub { owner = "SergiusTheBest"; repo = pname; rev = version; hash = "sha256-CARTr1EEqXNJtp6XwHhr7aiRBiYR0cClzexpNCMaQJc="; }; strictDeps = true; nativeBuildInputs = [ cmake ]; cmakeFlags = [ "-DPLOG_BUILD_SAMPLES=NO" ]; meta = with lib; { description = "Portable, simple and extensible C++ logging library"; homepage = "https://github.com/SergiusTheBest/plog"; license = licenses.mit; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ raphaelr erdnaxe ]; }; }