lol

Merge pull request #115766 from marsam/update-ncspot

ncspot: 0.4.0 -> 0.5.0

authored by

Sandro and committed by
GitHub
d6664711 89a7d1af

+26 -4
+19
pkgs/applications/audio/ncspot/bump-security-framework-crate.patch
··· 1 + Bump security-framework from 2.1.1 to 2.1.2 2 + 3 + security-framework=2.1.1 doesn't build on Darwin 10.12. 4 + https://github.com/kornelski/rust-security-framework/issues/124 5 + 6 + --- c/Cargo.lock 7 + +++ i/Cargo.lock 8 + @@ -3138,9 +3138,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 9 + 10 + [[package]] 11 + name = "security-framework" 12 + -version = "2.1.1" 13 + +version = "2.1.2" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + -checksum = "2dfd318104249865096c8da1dfabf09ddbb6d0330ea176812a62ec75e40c4166" 16 + +checksum = "d493c5f39e02dfb062cd8f33301f90f9b13b650e8c1b1d0fd75c19dd64bff69d" 17 + dependencies = [ 18 + "bitflags 1.2.1", 19 + "core-foundation",
+7 -4
pkgs/applications/audio/ncspot/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform, pkg-config, ncurses, openssl 1 + { stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, ncurses, openssl, libiconv 2 2 , withALSA ? true, alsaLib ? null 3 3 , withPulseAudio ? false, libpulseaudio ? null 4 4 , withPortAudio ? false, portaudio ? null ··· 14 14 in 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "ncspot"; 17 - version = "0.4.0"; 17 + version = "0.5.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "hrkfdn"; 21 21 repo = "ncspot"; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-4V0LG9mDvezeLHHTAmfAXdssOAOlZs30b8IejKEKN4g="; 23 + sha256 = "1h1il2mzngxmcsl169431lwzl0skv420arg9i06856r5wil37jf7"; 24 24 }; 25 25 26 - cargoSha256 = "sha256-POvIkoxLAXVBTsB37aAEUKhk6DRF9IfvfTcrP5PLFEQ="; 26 + cargoSha256 = "13yn7l4hhl48lbpj0zsbraqzkkz6knc373j6rcf8d1p4z76yili4"; 27 27 28 28 cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ]; 29 29 30 30 nativeBuildInputs = [ pkg-config ]; 31 31 32 + cargoPatches = [ ./bump-security-framework-crate.patch ]; 33 + 32 34 buildInputs = [ ncurses openssl ] 35 + ++ lib.optional stdenv.isDarwin libiconv 33 36 ++ lib.optional withALSA alsaLib 34 37 ++ lib.optional withPulseAudio libpulseaudio 35 38 ++ lib.optional withPortAudio portaudio