10 withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 sha256 = "sha256-BaCF1r5mOYxj0zKc11uoKI9gVKuxWd8GaneGcV+qIFg=";
25 # We set CMAKE_INSTALL_LIBDIR to the absolute path in $out, so
26 # prefix and exec_prefix cannot be $out, too
30 nativeBuildInputs = [ cmake ];
32 buildInputs = [ orcania ] ++ lib.optional withSystemd systemd;
40 "-DBUILD_YDER_TESTING=on"
41 ] ++ lib.optional (!withSystemd) "-DWITH_JOURNALD=off";
46 description = "Logging library for C applications";
47 homepage = "https://github.com/babelouest/yder";
48 license = licenses.lgpl21;
49 maintainers = with maintainers; [ johnazoidberg ];
50 platforms = platforms.all;