spdlog: init at 292bdc5
This commit is contained in:
parent
db3ee01ab6
commit
b1bf11881a
|
@ -0,0 +1,36 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "spdlog-${version}";
|
||||||
|
version = stdenv.lib.strings.substring 0 7 rev;
|
||||||
|
rev = "292bdc5eb4929f183c78d2c67082b715306f81c9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gabime";
|
||||||
|
repo = "spdlog";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "1b6b0c81a8hisaibqlzj5mrk3snrfl8p5sqa056q2f02i62zksbn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake ];
|
||||||
|
|
||||||
|
# cmakeFlags = [ "-DSPDLOG_BUILD_EXAMPLES=ON" ];
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/doc/spdlog
|
||||||
|
cp -rv ../example $out/share/doc/spdlog
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Very fast, header only, C++ logging library.";
|
||||||
|
homepage = https://github.com/gabime/spdlog;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ obadz ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
|
||||||
|
# This is a header-only library, no point in hydra building it:
|
||||||
|
hydraPlatforms = [];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16709,6 +16709,8 @@ in
|
||||||
|
|
||||||
bullet = callPackage ../development/libraries/bullet {};
|
bullet = callPackage ../development/libraries/bullet {};
|
||||||
|
|
||||||
|
spdlog = callPackage ../development/libraries/spdlog { };
|
||||||
|
|
||||||
dart = callPackage ../development/interpreters/dart { };
|
dart = callPackage ../development/interpreters/dart { };
|
||||||
|
|
||||||
httrack = callPackage ../tools/backup/httrack { };
|
httrack = callPackage ../tools/backup/httrack { };
|
||||||
|
|
Loading…
Reference in New Issue