mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
spacenavd: install upstream systemd unit
This commit is contained in:
parent
b2e9fff168
commit
3e4235b74f
|
@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 $src/contrib/systemd/spacenavd.service -t $out/lib/systemd/system
|
||||
substituteInPlace $out/lib/systemd/system/spacenavd.service \
|
||||
--replace-fail "/usr/local/bin/spacenavd" "$out/bin/spacenavd"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://spacenav.sourceforge.net/";
|
||||
description = "Device driver and SDK for 3Dconnexion 3D input devices";
|
||||
|
|
Loading…
Reference in a new issue