Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Florian Franzen
w3fpkgs
Commits
aa1fdd3a
Commit
aa1fdd3a
authored
Apr 26, 2021
by
Florian Franzen
Browse files
soralog: init at 0.0.5
parent
f1d04d17
Changes
3
Hide whitespace changes
Inline
Side-by-side
deps/soralog/default.nix
0 → 100644
View file @
aa1fdd3a
{
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"
];
}
deps/soralog/yaml-cpp.patch
0 → 100644
View file @
aa1fdd3a
+++ 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
)
overlay.nix
View file @
aa1fdd3a
...
...
@@ -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
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment