···1111 sha256 = "180mkdis15gxs79rr3f7hpwa1p6v81bybw37pzzdjnmqwqrc08a0";
1212 };
13131414+ patches = [
1515+ # Changes the pidfile path from /run/spnavd.pid to $XDG_RUNTIME_DIR/spnavd.pid
1616+ # to allow for a user service
1717+ ./configure-pidfile-path.patch
1818+ # Changes the config file path from /etc/spnavrc to $XDG_CONFIG_HOME/spnavrc or $HOME/.config/spnavrc
1919+ # to allow for a user service
2020+ ./configure-cfgfile-path.patch
2121+ ];
2222+1423 postPatch = ''
1524 sed -i s/4775/775/ Makefile.in
1625 '';
···2828 else "");
2929in stdenv.mkDerivation rec {
3030 pname = "signal-desktop";
3131- version = "5.2.0"; # Please backport all updates to the stable channel.
3131+ version = "5.2.1"; # Please backport all updates to the stable channel.
3232 # All releases have a limited lifetime and "expire" 90 days after the release.
3333 # When releases "expire" the application becomes unusable until an update is
3434 # applied. The expiration date for the current release can be extracted with:
···38383939 src = fetchurl {
4040 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
4141- sha256 = "0jvimpmz1d0pg9zpnyzm7a3g7vzapq62cphmvjhh67dxv5jih37k";
4141+ sha256 = "0hkl8h49565kncvczv5fv4gak55lycygwb8i8igkgc4my0ykzs2z";
4242 };
43434444 nativeBuildInputs = [
···1717 url = "https://github.com/FreeSpacenav/spacenavd/commit/d6a25d5c3f49b9676d039775efc8bf854737c43c.patch";
1818 sha256 = "02pdgcvaqc20qf9hi3r73nb9ds7yk2ps9nnxaj0x9p50xjnhfg5c";
1919 })
2020+ # Changes the socket path from /run/spnav.sock to $XDG_RUNTIME_DIR/spnav.sock
2121+ # to allow for a user service
2222+ ./configure-socket-path.patch
2323+ # Changes the pidfile path from /run/spnavd.pid to $XDG_RUNTIME_DIR/spnavd.pid
2424+ # to allow for a user service
2525+ ./configure-pidfile-path.patch
2626+ # Changes the config file path from /etc/spnavrc to $XDG_CONFIG_HOME/spnavrc or $HOME/.config/spnavrc
2727+ # to allow for a user service
2828+ ./configure-cfgfile-path.patch
2029 ];
21302231 buildInputs = [ libX11 ]