Merge pull request #133081 from SuperSandro2000/yder

yder: format, cleanup
This commit is contained in:
Sandro 2021-08-08 06:11:05 +02:00 committed by GitHub
commit f41a7b87b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];