Merge pull request #177235 from marsam/update-ncspot
ncspot: 0.9.8 -> 0.10.0
This commit is contained in:
commit
dcb619aed6
@ -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
|
, withALSA ? true, alsa-lib
|
||||||
, withPulseAudio ? false, libpulseaudio
|
, withPulseAudio ? false, libpulseaudio
|
||||||
, withPortAudio ? false, portaudio
|
, withPortAudio ? false, portaudio
|
||||||
@ -7,21 +7,21 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ncspot";
|
pname = "ncspot";
|
||||||
version = "0.9.8";
|
version = "0.10.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hrkfdn";
|
owner = "hrkfdn";
|
||||||
repo = "ncspot";
|
repo = "ncspot";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-lrEIFPi55aP9utAaMIFtqocpkbDXRJqS/jlGUtE26kE=";
|
sha256 = "sha256-lZ7wFhXJ9I4IcHLLoyMTnq3MJDtUNcVdMHYLThuN7c8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-vkNGQ3SXKJpUqDZ4TfmlSleAPAOQnsEncE8475NLJ4M=";
|
cargoSha256 = "sha256-JLNB196GWpLyCrZ8fBH8+1RF1fa6PhdwFw6RW3fUARM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ ncurses openssl ]
|
buildInputs = [ ncurses ]
|
||||||
++ lib.optional stdenv.isDarwin libiconv
|
++ lib.optional stdenv.isLinux openssl
|
||||||
++ lib.optional withALSA alsa-lib
|
++ lib.optional withALSA alsa-lib
|
||||||
++ lib.optional withPulseAudio libpulseaudio
|
++ lib.optional withPulseAudio libpulseaudio
|
||||||
++ lib.optional withPortAudio portaudio
|
++ lib.optional withPortAudio portaudio
|
||||||
|
Loading…
Reference in New Issue
Block a user