about summary refs log tree commit diff
path: root/pkgs/applications/audio/ncspot
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-04-12 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2021-04-12 04:20:00 +0000
commita6f303f5fde444f485506c3de04cf4224df973fc (patch)
tree10d40d2fff196df15aeae3b572f7187068e19884 /pkgs/applications/audio/ncspot
parent7289645071256c0026644dcdf0df759340b0bd77 (diff)
downloadnixlib-a6f303f5fde444f485506c3de04cf4224df973fc.tar
nixlib-a6f303f5fde444f485506c3de04cf4224df973fc.tar.gz
nixlib-a6f303f5fde444f485506c3de04cf4224df973fc.tar.bz2
nixlib-a6f303f5fde444f485506c3de04cf4224df973fc.tar.lz
nixlib-a6f303f5fde444f485506c3de04cf4224df973fc.tar.xz
nixlib-a6f303f5fde444f485506c3de04cf4224df973fc.tar.zst
nixlib-a6f303f5fde444f485506c3de04cf4224df973fc.zip
ncspot: 0.5.0 -> 0.6.0
https://github.com/hrkfdn/ncspot/releases/tag/v0.6.0
Diffstat (limited to 'pkgs/applications/audio/ncspot')
-rw-r--r--pkgs/applications/audio/ncspot/bump-security-framework-crate.patch19
-rw-r--r--pkgs/applications/audio/ncspot/default.nix8
2 files changed, 3 insertions, 24 deletions
diff --git a/pkgs/applications/audio/ncspot/bump-security-framework-crate.patch b/pkgs/applications/audio/ncspot/bump-security-framework-crate.patch
deleted file mode 100644
index 5c8008abb18a..000000000000
--- a/pkgs/applications/audio/ncspot/bump-security-framework-crate.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Bump security-framework from 2.1.1 to 2.1.2
-
-security-framework=2.1.1 doesn't build on Darwin 10.12.
-https://github.com/kornelski/rust-security-framework/issues/124
-
---- c/Cargo.lock
-+++ i/Cargo.lock
-@@ -3138,9 +3138,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
- 
- [[package]]
- name = "security-framework"
--version = "2.1.1"
-+version = "2.1.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "2dfd318104249865096c8da1dfabf09ddbb6d0330ea176812a62ec75e40c4166"
-+checksum = "d493c5f39e02dfb062cd8f33301f90f9b13b650e8c1b1d0fd75c19dd64bff69d"
- dependencies = [
-  "bitflags 1.2.1",
-  "core-foundation",
diff --git a/pkgs/applications/audio/ncspot/default.nix b/pkgs/applications/audio/ncspot/default.nix
index ad8d64b97205..f67169fd495d 100644
--- a/pkgs/applications/audio/ncspot/default.nix
+++ b/pkgs/applications/audio/ncspot/default.nix
@@ -14,23 +14,21 @@ let
 in
 rustPlatform.buildRustPackage rec {
   pname = "ncspot";
-  version = "0.5.0";
+  version = "0.6.0";
 
   src = fetchFromGitHub {
     owner = "hrkfdn";
     repo = "ncspot";
     rev = "v${version}";
-    sha256 = "1h1il2mzngxmcsl169431lwzl0skv420arg9i06856r5wil37jf7";
+    sha256 = "0j4ax3yh0l8v5bd5i3ijd8ys27dcrh7byigjip52mw1qlqfnh8wk";
   };
 
-  cargoSha256 = "13yn7l4hhl48lbpj0zsbraqzkkz6knc373j6rcf8d1p4z76yili4";
+  cargoSha256 = "022q6rlac97dr6l7rd9xalgx0w257r364i1pij080qx8rk97msb9";
 
   cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ];
 
   nativeBuildInputs = [ pkg-config ];
 
-  cargoPatches = [ ./bump-security-framework-crate.patch ];
-
   buildInputs = [ ncurses openssl ]
     ++ lib.optional stdenv.isDarwin libiconv
     ++ lib.optional withALSA alsaLib