neard: enable support for Secure Elements

This commit is contained in:
Thomas Strobel 2015-10-01 14:23:22 +02:00
parent 375ab720b3
commit e0d5b14ce4

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ autoreconfHook pkgconfig systemd glib dbus libnl pythonPackages.python pythonPackages.wrapPython ];
pythonPath = [ pythonPackages.pygobject pythonPackages.dbus pythonPackages.pygtk ];
configureFlags = [ "--disable-debug" "--enable-tools" "--with-systemdsystemunitdir=$out/lib/systemd/system" ];
configureFlags = [ "--disable-debug" "--enable-tools" "--enable-ese" "--with-systemdsystemunitdir=$out/lib/systemd/system" ];
postInstall = ''
install -m 0755 tools/snep-send $out/bin/
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
install -D -m644 src/neard.service $out/lib/systemd/system/neard.service
install -D -m644 src/main.conf $out/etc/neard/main.conf
# INFO: the config option "--enable-test" would copy the apps to $out/lib/neard/test/ instead
install -d $out/lib/neard
install -m 0755 test/* $out/lib/neard/
wrapPythonProgramsIn $out/lib/neard "$out $pythonPath"