nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

termusic: 0.9.1 -> 0.10.0 (#388541)

authored by

Donovan Glover and committed by
GitHub
5ab5ab8a e5a37345

+3 -28
+3 -28
pkgs/by-name/te/termusic/package.nix
··· 2 2 alsa-lib, 3 3 dbus, 4 4 fetchFromGitHub, 5 - fetchpatch, 6 5 glib, 7 6 gst_all_1, 8 7 lib, ··· 16 17 17 18 rustPlatform.buildRustPackage rec { 18 19 pname = "termusic"; 19 - version = "0.9.1"; 20 + version = "0.10.0"; 20 21 21 22 src = fetchFromGitHub { 22 23 owner = "tramhao"; 23 24 repo = "termusic"; 24 25 rev = "v${version}"; 25 - hash = "sha256-aEkg1j6R86QGn21HBimtZwmjmW1K9Wo+67G4DlpY960="; 26 + hash = "sha256-Yd23Jk2BFuLtxgF8vgat0wTGq6ahHHBd/HjGI9BY9z4="; 26 27 }; 27 28 28 - cargoPatches = [ 29 - # both following patches can be removed with the follow up release to 0.9.1 as they are cherry-picked from `termusic/master` branch 30 - # fix build issue with 0.9.1 release and vendoring producing wrong hash for soundtouch-ffi 31 - (fetchpatch { 32 - url = "https://github.com/tramhao/termusic/commit/211fc3fe008932d052d31d3b836e8a80eade3cfe.patch"; 33 - hash = "sha256-11kSI28YonoTe5W31+R76lGhNiN1ZLAg94FrfYiZUAY="; 34 - }) 35 - # fix a bug through previous patch 36 - (fetchpatch { 37 - url = "https://github.com/tramhao/termusic/commit/2a40b2f366dfa5c1f008c79a3ff5c1bbf53fe10f.patch"; 38 - hash = "sha256-b7CJ5SqxrU1Jr4GDaJe9sFutDHMqIQxGhXbBFGB6y84="; 39 - }) 40 - ]; 41 - 42 - postPatch = '' 43 - pushd $cargoDepsCopy/stream-download-0.6.0 44 - oldHash=$(sha256sum src/lib.rs | cut -d " " -f 1) 45 - substituteInPlace $cargoDepsCopy/stream-download-0.6.0/src/lib.rs \ 46 - --replace-warn '#![doc = include_str!("../README.md")]' "" 47 - substituteInPlace .cargo-checksum.json \ 48 - --replace-warn $oldHash $(sha256sum src/lib.rs | cut -d " " -f 1) 49 - popd 50 - ''; 51 - 52 29 useFetchCargoVendor = true; 53 - cargoHash = "sha256-LWatmnmLBDf4BFq5RMQBbN4wmptYuz3xqyzz6gJGzX8="; 30 + cargoHash = "sha256-1WomL0O5QS2NHu4k6TuA2jLtDKyxlY0iVCgH9pb6CHI="; 54 31 55 32 useNextest = true; 56 33