From 8bee32d8bfa312183a400c50f4aaa04044f50d3e Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 8 Nov 2024 12:18:56 -0800 Subject: [PATCH 1/2] maintainers: add caperren --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ccdf946882eb..fb763f519bf9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3536,6 +3536,12 @@ github = "scaredmushroom"; githubId = 45340040; }; + caperren = { + name = "Corwin Perren"; + email = "caperren@gmail.com"; + github = "caperren"; + githubId = 4566591; + }; CaptainJawZ = { email = "CaptainJawZ@outlook.com"; name = "Danilo Reyes"; From 3cebba8819f47e7506bc9aff7b77ff3726e9ea76 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Sat, 9 Nov 2024 15:05:22 -0800 Subject: [PATCH 2/2] spotify-player: 0.20.0 -> 0.20.1 --- pkgs/by-name/sp/spotify-player/package.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/sp/spotify-player/package.nix b/pkgs/by-name/sp/spotify-player/package.nix index 3f297c3e9bc4..7adc58d48e99 100644 --- a/pkgs/by-name/sp/spotify-player/package.nix +++ b/pkgs/by-name/sp/spotify-player/package.nix @@ -28,22 +28,25 @@ , stdenv , darwin , makeBinaryWrapper + +# passthru +, nix-update-script }: assert lib.assertOneOf "withAudioBackend" withAudioBackend [ "" "alsa" "pulseaudio" "rodio" "portaudio" "jackaudio" "rodiojack" "sdl" "gstreamer" ]; rustPlatform.buildRustPackage rec { pname = "spotify-player"; - version = "0.20.0"; + version = "0.20.1"; src = fetchFromGitHub { owner = "aome510"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-heycCm2Nwyo+DegMKeXZ+dF+ZqiFT/6P08/28buJc6I="; + hash = "sha256-SKlESIw8eAyAqR1HVW004yyL2nNVEnb4/xmf0ch3ZMo="; }; - cargoHash = "sha256-U3a/6uF7vOV3QnxqPnooBdvjyyIPLnQXiXtTwKeHAxA="; + cargoHash = "sha256-VlJ8Bz4EY2rERyOn6ifC7JAL5Mvjt0ZOzlPBOwiH6WA="; nativeBuildInputs = [ pkg-config @@ -93,12 +96,16 @@ rustPlatform.buildRustPackage rec { --prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [libsixel]}" ''; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Terminal spotify player that has feature parity with the official client"; homepage = "https://github.com/aome510/spotify-player"; changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}"; mainProgram = "spotify_player"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ dit7ya xyven1 _71zenith ]; + maintainers = with lib.maintainers; [ dit7ya xyven1 _71zenith caperren ]; }; }