9 , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-BaCF1r5mOYxj0zKc11uoKI9gVKuxWd8GaneGcV+qIFg=";
24 # We set CMAKE_INSTALL_LIBDIR to the absolute path in $out, so
25 # prefix and exec_prefix cannot be $out, too
29 nativeBuildInputs = [ cmake ];
31 buildInputs = [ orcania ]
32 ++ lib.optional withSystemd systemd;
34 nativeCheckInputs = [ check subunit ];
37 "-DBUILD_YDER_TESTING=on"
38 ] ++ lib.optional (!withSystemd) "-DWITH_JOURNALD=off";
43 description = "Logging library for C applications";
44 homepage = "https://github.com/babelouest/yder";
45 license = licenses.lgpl21;
46 maintainers = with maintainers; [ johnazoidberg ];
47 platforms = platforms.all;