Commit aa1fdd3a authored by Florian Franzen's avatar Florian Franzen
Browse files

soralog: init at 0.0.5

parent f1d04d17
{ stdenv
, fetchFromGitHub
, cmake
, gtest_cmake
, libyamlcpp
, fmt
}:
stdenv.mkDerivation rec {
pname = "soralog";
version = "0.0.5";
src = fetchFromGitHub {
owner = "soramitsu";
repo = "soralog";
rev = "v${version}";
sha256 = "1wmbd297822bz9r53lk378rpv33ljglk95n42pyj04r8vcivqwyb";
};
patches = [ ./yaml-cpp.patch ];
nativeBuildInputs = [ cmake ];
buildInputs = [ gtest_cmake ];
propagatedBuildInputs = [ libyamlcpp fmt ];
cmakeFlags = [ "-DHUNTER_ENABLED=OFF" "-DEXAMPLES=OFF" ];
}
+++ a/src/CMakeLists.txt
--- b/src/CMakeLists.txt
@@ -70,7 +70,7 @@ add_library(configurator_yaml
impl/configurator_from_yaml.cpp
)
target_link_libraries(configurator_yaml
- yaml-cpp::yaml-cpp
+ yaml-cpp
configurator
)
......@@ -33,6 +33,8 @@ let
# Dependency derivations (buildable)
dependencies = with final; {
# C++ dependencies
soralog = callPackage ./deps/soralog {};
cpp-libp2p = callPackage ./deps/cpp-libp2p {};
sqlite-modern-cpp = callPackage ./deps/sqlite-modern-cpp {};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment