File tree Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Original file line number Diff line number Diff line change 22 alsa-lib ,
33 dbus ,
44 fetchFromGitHub ,
5- fetchpatch ,
65 glib ,
76 gst_all_1 ,
87 lib ,
1716
1817rustPlatform . buildRustPackage rec {
1918 pname = "termusic" ;
20- version = "0.9.1 " ;
19+ version = "0.10.0 " ;
2120
2221 src = fetchFromGitHub {
2322 owner = "tramhao" ;
2423 repo = "termusic" ;
2524 rev = "v${ version } " ;
26- hash = "sha256-aEkg1j6R86QGn21HBimtZwmjmW1K9Wo+67G4DlpY960 =" ;
25+ hash = "sha256-Yd23Jk2BFuLtxgF8vgat0wTGq6ahHHBd/HjGI9BY9z4 =" ;
2726 } ;
2827
29- cargoPatches = [
30- # both following patches can be removed with the follow up release to 0.9.1 as they are cherry-picked from `termusic/master` branch
31- # fix build issue with 0.9.1 release and vendoring producing wrong hash for soundtouch-ffi
32- ( fetchpatch {
33- url = "https://github.com/tramhao/termusic/commit/211fc3fe008932d052d31d3b836e8a80eade3cfe.patch" ;
34- hash = "sha256-11kSI28YonoTe5W31+R76lGhNiN1ZLAg94FrfYiZUAY=" ;
35- } )
36- # fix a bug through previous patch
37- ( fetchpatch {
38- url = "https://github.com/tramhao/termusic/commit/2a40b2f366dfa5c1f008c79a3ff5c1bbf53fe10f.patch" ;
39- hash = "sha256-b7CJ5SqxrU1Jr4GDaJe9sFutDHMqIQxGhXbBFGB6y84=" ;
40- } )
41- ] ;
42-
43- postPatch = ''
44- pushd $cargoDepsCopy/stream-download-0.6.0
45- oldHash=$(sha256sum src/lib.rs | cut -d " " -f 1)
46- substituteInPlace $cargoDepsCopy/stream-download-0.6.0/src/lib.rs \
47- --replace-warn '#![doc = include_str!("../README.md")]' ""
48- substituteInPlace .cargo-checksum.json \
49- --replace-warn $oldHash $(sha256sum src/lib.rs | cut -d " " -f 1)
50- popd
51- '' ;
52-
5328 useFetchCargoVendor = true ;
54- cargoHash = "sha256-LWatmnmLBDf4BFq5RMQBbN4wmptYuz3xqyzz6gJGzX8 =" ;
29+ cargoHash = "sha256-1WomL0O5QS2NHu4k6TuA2jLtDKyxlY0iVCgH9pb6CHI =" ;
5530
5631 useNextest = true ;
5732
You can’t perform that action at this time.
0 commit comments