yder: format, cleanup
This commit is contained in:
parent
6d84ed4252
commit
107b43ae96
|
@ -1,7 +1,14 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, cmake, orcania, systemd, check, subunit
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, orcania
|
||||||
|
, systemd
|
||||||
|
, check
|
||||||
|
, subunit
|
||||||
, withSystemd ? stdenv.isLinux
|
, withSystemd ? stdenv.isLinux
|
||||||
}:
|
}:
|
||||||
assert withSystemd -> systemd != null;
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "yder";
|
pname = "yder";
|
||||||
version = "1.4.12";
|
version = "1.4.12";
|
||||||
|
@ -21,7 +28,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ orcania ] ++ lib.optional withSystemd systemd;
|
buildInputs = [ orcania ]
|
||||||
|
++ lib.optional withSystemd systemd;
|
||||||
|
|
||||||
checkInputs = [ check subunit ];
|
checkInputs = [ check subunit ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue