git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #119275 from marsam/update-ncspot

ncspot: 0.5.0 -> 0.6.0

commitfc6f90c526aee2b6c2af09f47bfc60c735a643f2 authorFabian Affolter <fabian@affolter-engineering.ch> dateTue 13 Apr 2021, 09:08 (6 years ago) parentd065602a6f303f
2 files changed+3−24
pkgs/applications/audio/ncspot/bump-security-framework-crate.patch−19 pkgs/applications/audio/ncspot/default.nix+3−5
pkgs/applications/audio/ncspot/bump-security-framework-crate.patchdeleted−19
@@ -1,19 +0,0 @@
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",
pkgs/applications/audio/ncspot/default.nix+3−5
@@ -14,23 +14,21 @@ let
1414in
1515rustPlatform.buildRustPackage rec {
1616 pname = "ncspot";
17− version = "0.5.0";
17+ version = "0.6.0";
1818
1919 src = fetchFromGitHub {
2020 owner = "hrkfdn";
2121 repo = "ncspot";
2222 rev = "v${version}";
23− sha256 = "1h1il2mzngxmcsl169431lwzl0skv420arg9i06856r5wil37jf7";
23+ sha256 = "0j4ax3yh0l8v5bd5i3ijd8ys27dcrh7byigjip52mw1qlqfnh8wk";
2424 };
2525
26− cargoSha256 = "13yn7l4hhl48lbpj0zsbraqzkkz6knc373j6rcf8d1p4z76yili4";
26+ cargoSha256 = "022q6rlac97dr6l7rd9xalgx0w257r364i1pij080qx8rk97msb9";
2727
2828 cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ];
2929
3030 nativeBuildInputs = [ pkg-config ];
3131
32− cargoPatches = [ ./bump-security-framework-crate.patch ];
33−
3432 buildInputs = [ ncurses openssl ]
3533 ++ lib.optional stdenv.isDarwin libiconv
3634 ++ lib.optional withALSA alsaLib