31 lines
595 B
Nix
31 lines
595 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, openssl
|
|
, srtp
|
|
, usrsctp
|
|
, plog # todo
|
|
, nlohmann_json
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "plog";
|
|
version = "1.1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SergiusTheBest";
|
|
repo = "plog";
|
|
rev = version;
|
|
sha256 = "sha256-CARTr1EEqXNJtp6XwHhr7aiRBiYR0cClzexpNCMaQJc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Portable, simple and extensible C++ logging library";
|
|
maintainers = with maintainers; [ lukegb ];
|
|
platforms = platforms.all;
|
|
license = with licenses; [ mit ];
|
|
};
|
|
}
|