about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorOlli Helenius <liff@iki.fi>2023-11-14 20:08:35 +0200
committerOlli Helenius <liff@iki.fi>2024-02-18 11:27:29 +0200
commitb87b7491f120ca2fd0293bf6cc796b729a4461d3 (patch)
treec9559662fffef31c68bb9d11eb689b7b28dcae64 /pkgs/applications/audio
parent045b51a3ae66f673ed44b5bbd1f4a341d96703bf (diff)
downloadnixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.tar
nixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.tar.gz
nixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.tar.bz2
nixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.tar.lz
nixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.tar.xz
nixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.tar.zst
nixlib-b87b7491f120ca2fd0293bf6cc796b729a4461d3.zip
ncspot: add an updateScript
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/ncspot/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ncspot/default.nix b/pkgs/applications/audio/ncspot/default.nix
index 1135404a43ea..9f22f804859c 100644
--- a/pkgs/applications/audio/ncspot/default.nix
+++ b/pkgs/applications/audio/ncspot/default.nix
@@ -12,6 +12,7 @@
 , withPulseAudio ? false, libpulseaudio
 , withPortAudio ? false, portaudio
 , withMPRIS ? true, withNotify ? true, dbus
+, nix-update-script
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -53,6 +54,10 @@ rustPlatform.buildRustPackage rec {
     ++ lib.optional withMPRIS "mpris"
     ++ lib.optional withNotify "notify";
 
+  passthru = {
+    updateScript = nix-update-script { };
+  };
+
   meta = with lib; {
     description = "Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes";
     homepage = "https://github.com/hrkfdn/ncspot";