@@ -39,14 +39,14 @@ let
3939 pythonInputs = with python2.pkgs; [ python2 lxml ];
4040in
4141stdenv.mkDerivation rec {
42− name = "radiotray-ng-${version}";
43− version = "0.2.5";
42+ pname = "radiotray-ng";
43+ version = "0.2.6";
4444
4545 src = fetchFromGitHub {
4646 owner = "ebruck";
4747 repo = "radiotray-ng";
4848 rev = "v${version}";
49− sha256 = "1crvpn1mgrv7bd2k683mpgs59785mkrjvmp1f14iyq4qrr0f9zzi";
49+ sha256 = "0khrfxjas2ldh0kksq7l811srqy16ahjxchvz0hhykx5hykymxlb";
5050 };
5151
5252 nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook makeWrapper ];
@@ -64,9 +64,10 @@ stdenv.mkDerivation rec {
6464 patches = [ ./no-dl-googletest.patch ];
6565
6666 postPatch = ''
67− for x in debian/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do
67+ for x in package/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do
6868 substituteInPlace $x --replace /usr $out
6969 done
70+ substituteInPlace package/CMakeLists.txt --replace /etc/xdg/autostart $out/etc/xdg/autostart
7071
7172 # We don't find the radiotray-ng-notification icon otherwise
7273 substituteInPlace data/radiotray-ng.desktop \