mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
spdlog: init at 292bdc5
This commit is contained in:
parent
db3ee01ab6
commit
b1bf11881a
36
pkgs/development/libraries/spdlog/default.nix
Normal file
36
pkgs/development/libraries/spdlog/default.nix
Normal file
|
@ -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 {};
|
||||
|
||||
spdlog = callPackage ../development/libraries/spdlog { };
|
||||
|
||||
dart = callPackage ../development/interpreters/dart { };
|
||||
|
||||
httrack = callPackage ../tools/backup/httrack { };
|
||||
|
|
Loading…
Reference in a new issue