yder: format, cleanup

This commit is contained in:
Sandro Jäckel 2021-08-08 05:22:27 +02:00
parent 6d84ed4252
commit 107b43ae96
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,7 +1,14 @@
{ stdenv, lib, fetchFromGitHub, cmake, orcania, systemd, check, subunit
{ stdenv
, lib
, fetchFromGitHub
, cmake
, orcania
, systemd
, check
, subunit
, withSystemd ? stdenv.isLinux
}:
assert withSystemd -> systemd != null;
stdenv.mkDerivation rec {
pname = "yder";
version = "1.4.12";
@ -21,7 +28,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ orcania ] ++ lib.optional withSystemd systemd;
buildInputs = [ orcania ]
++ lib.optional withSystemd systemd;
checkInputs = [ check subunit ];