From 44f2769f055b00606fbb6e14ce2f8a5dc3134f8d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 10 Jun 2022 04:20:00 +0000 Subject: [PATCH] ncspot: 0.9.8 -> 0.10.0 https://github.com/hrkfdn/ncspot/releases/tag/v0.10.0 --- pkgs/applications/audio/ncspot/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/ncspot/default.nix b/pkgs/applications/audio/ncspot/default.nix index 050c54e168d2..c929f1da5b61 100644 --- a/pkgs/applications/audio/ncspot/default.nix +++ b/pkgs/applications/audio/ncspot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, ncurses, openssl, libiconv +{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, ncurses, openssl , withALSA ? true, alsa-lib , withPulseAudio ? false, libpulseaudio , withPortAudio ? false, portaudio @@ -7,21 +7,21 @@ rustPlatform.buildRustPackage rec { pname = "ncspot"; - version = "0.9.8"; + version = "0.10.0"; src = fetchFromGitHub { owner = "hrkfdn"; repo = "ncspot"; rev = "v${version}"; - sha256 = "sha256-lrEIFPi55aP9utAaMIFtqocpkbDXRJqS/jlGUtE26kE="; + sha256 = "sha256-lZ7wFhXJ9I4IcHLLoyMTnq3MJDtUNcVdMHYLThuN7c8="; }; - cargoSha256 = "sha256-vkNGQ3SXKJpUqDZ4TfmlSleAPAOQnsEncE8475NLJ4M="; + cargoSha256 = "sha256-JLNB196GWpLyCrZ8fBH8+1RF1fa6PhdwFw6RW3fUARM="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ ncurses openssl ] - ++ lib.optional stdenv.isDarwin libiconv + buildInputs = [ ncurses ] + ++ lib.optional stdenv.isLinux openssl ++ lib.optional withALSA alsa-lib ++ lib.optional withPulseAudio libpulseaudio ++ lib.optional withPortAudio portaudio