diff options
author | Jan Solanti <jhs@psonet.com> | 2022-02-06 15:44:34 +0200 |
---|---|---|
committer | Jan Solanti <jhs@psonet.com> | 2022-02-06 21:18:10 +0200 |
commit | a52aae6868d4a1d1e5447aa45de6562bfc71b903 (patch) | |
tree | 005111a58ce3d1afa3ed09759b838e920fb5dcf4 /pkgs/applications/audio/tauon/default.nix | |
parent | c53d2b9c3ee491bfbbf70eaa784c74a7ec046e7d (diff) |
tauon: install desktop file and icon
Diffstat (limited to 'pkgs/applications/audio/tauon/default.nix')
-rw-r--r-- | pkgs/applications/audio/tauon/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/audio/tauon/default.nix b/pkgs/applications/audio/tauon/default.nix index e43e87840e005..5e7f5c7cce2cc 100644 --- a/pkgs/applications/audio/tauon/default.nix +++ b/pkgs/applications/audio/tauon/default.nix @@ -44,6 +44,8 @@ stdenv.mkDerivation rec { --replace 'lib/libphazor.so' '../../lib/libphazor.so' patchShebangs compile-phazor.sh + + substituteInPlace extra/tauonmb.desktop --replace 'Exec=/opt/tauon-music-box/tauonmb.sh' 'Exec=${placeholder "out"}/bin/tauon' ''; postBuild = '' @@ -103,7 +105,12 @@ stdenv.mkDerivation rec { cp -r assets input.txt t_modules theme $out/share/tauon wrapPythonPrograms - ''; + + mkdir -p $out/share/applications + install -Dm755 extra/tauonmb.desktop $out/share/applications/tauonmb.desktop + mkdir -p $out/share/icons/hicolor/scalable/apps + install -Dm644 extra/tauonmb{,-symbolic}.svg $out/share/icons/hicolor/scalable/apps +''; meta = with lib; { description = "The Linux desktop music player from the future"; |