1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #327318 from onny/downonspot-update4

downonspot: unstable-2024-04-30 -> 0.5.0
This commit is contained in:
Weijia Wang 2024-07-16 12:31:06 +02:00 committed by GitHub
commit 60b79df674
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 20 deletions

View file

@ -1,8 +1,8 @@
diff --git a/Cargo.lock b/Cargo.lock
index e6f1267..3bf16a5 100644
index cccafd9..75d2a85 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1632,7 +1632,8 @@ dependencies = [
@@ -1655,7 +1655,8 @@ dependencies = [
[[package]]
name = "librespot"
version = "0.4.2"
@ -12,7 +12,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"base64 0.13.1",
"env_logger",
@@ -1658,7 +1659,8 @@ dependencies = [
@@ -1681,7 +1682,8 @@ dependencies = [
[[package]]
name = "librespot-audio"
version = "0.4.2"
@ -22,7 +22,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"aes-ctr",
"byteorder",
@@ -1673,7 +1675,8 @@ dependencies = [
@@ -1696,7 +1698,8 @@ dependencies = [
[[package]]
name = "librespot-connect"
version = "0.4.2"
@ -32,7 +32,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"form_urlencoded",
"futures-util",
@@ -1693,7 +1696,8 @@ dependencies = [
@@ -1716,7 +1719,8 @@ dependencies = [
[[package]]
name = "librespot-core"
version = "0.4.2"
@ -42,7 +42,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"aes",
"base64 0.13.1",
@@ -1733,7 +1737,8 @@ dependencies = [
@@ -1756,7 +1760,8 @@ dependencies = [
[[package]]
name = "librespot-discovery"
version = "0.4.2"
@ -52,7 +52,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"aes-ctr",
"base64 0.13.1",
@@ -1754,7 +1759,8 @@ dependencies = [
@@ -1777,7 +1782,8 @@ dependencies = [
[[package]]
name = "librespot-metadata"
version = "0.4.2"
@ -62,7 +62,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"async-trait",
"byteorder",
@@ -1767,7 +1773,8 @@ dependencies = [
@@ -1790,7 +1796,8 @@ dependencies = [
[[package]]
name = "librespot-playback"
version = "0.4.2"
@ -72,7 +72,7 @@ index e6f1267..3bf16a5 100644
dependencies = [
"byteorder",
"cpal",
@@ -1792,7 +1799,8 @@ dependencies = [
@@ -1815,7 +1822,8 @@ dependencies = [
[[package]]
name = "librespot-protocol"
version = "0.4.2"
@ -83,15 +83,15 @@ index e6f1267..3bf16a5 100644
"glob",
"protobuf 2.28.0",
diff --git a/Cargo.toml b/Cargo.toml
index 40ca2c1..734a3fb 100644
index c7e2fe2..28e895a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ reqwest = "0.11"
@@ -30,7 +30,7 @@ reqwest = "0"
colored = "2"
lame = "0.1"
aspotify = "0.7.1"
lame = "0"
aspotify = "0"
-librespot = { git = "ssh://git@github.com/oSumAtrIX/free-librespot.git" }
+librespot = "0.4.2"
async-std = { version = "1.12", features = ["attributes", "tokio1"] }
serde_json = "1.0"
async-stream = "0.3"
async-std = { version = "1", features = ["attributes", "tokio1"] }
serde_json = "1"
async-stream = "0"

View file

@ -10,19 +10,19 @@
rustPlatform.buildRustPackage rec {
pname = "downonspot";
version = "unstable-2024-04-30";
version = "0.5.0";
src = fetchFromGitHub {
owner = "oSumAtrIX";
repo = "DownOnSpot";
rev = "669dbb18e105129fff4886ba3710596d54a5f33a";
hash = "sha256-sUptn+tmQoI2i9WBpJU23MkdQ9h+Lmx590+2+0XXC7w=";
rev = "refs/tags/v${version}";
hash = "sha256-PA11R/hVAmismayE8uU03P0eeNnrgpD2HxbMW0vlk3k=";
};
# Use official public librespot version
cargoPatches = [ ./Cargo.lock.patch ];
cargoHash = "sha256-GHhijwgTge7jzdkn0qynQIBNYeqtY26C5BaLpQ/UWgQ=";
cargoHash = "sha256-jdscYr4Emm2+mWXbxfhU1rp855tsGY5hrdJsDEfXeUo=";
nativeBuildInputs = [
pkg-config