fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 name = "spdlog-${version}";
5 version = "0.14.0";
6
7 src = fetchFromGitHub {
8 owner = "gabime";
9 repo = "spdlog";
10 rev = "v${version}";
11 sha256 = "13730429gwlabi432ilpnja3sfvy0nn2719vnhhmii34xcdyc57q";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 # cmakeFlags = [ "-DSPDLOG_BUILD_EXAMPLES=ON" ];
17
18 outputs = [ "out" "doc" ];
19
20 postInstall = ''
21 mkdir -p $out/share/doc/spdlog
22 cp -rv ../example $out/share/doc/spdlog
23 '';
24
25 meta = with stdenv.lib; {
26 description = "Very fast, header only, C++ logging library.";
27 homepage = https://github.com/gabime/spdlog;
28 license = licenses.mit;
29 maintainers = with maintainers; [ obadz ];
30 platforms = platforms.all;
31 };
32}