dbus-broker: meson and ninja hooks handle most things for us
This commit is contained in:
parent
fd2c8d0a00
commit
6f6a7aae8f
@ -22,19 +22,11 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "dep_systemd.get_pkgconfig_variable('systemduserunitdir')" "'$out/lib/systemd/user'"
|
--replace "dep_systemd.get_pkgconfig_variable('systemduserunitdir')" "'$out/lib/systemd/user'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
postInstall = ''
|
||||||
mkdir build
|
install -Dm644 ../README $out/share/doc/dbus-broker/README
|
||||||
meson --prefix "$out" --buildtype=release build/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = "ninja -C build";
|
checkPhase = "ninja test";
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
ninja -C build install
|
|
||||||
install -Dm644 README $out/share/doc/dbus-broker/README
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = "ninja -C build test";
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user