push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/thirdparty/ffmpeg-decoder-rs/Cargo.toml b/thirdparty/ffmpeg-decoder-rs/Cargo.toml
index 9db9ac9..4546253 100644
--- a/thirdparty/ffmpeg-decoder-rs/Cargo.toml
+++ b/thirdparty/ffmpeg-decoder-rs/Cargo.toml
@@ -20,7 +20,7 @@ default = []
rodio_source = ['rodio']
[dependencies]
-ffmpeg-sys-next = { git="https://github.com/KetaDotCC/rust-ffmpeg-sys.git", branch="master", default-features=false, features=["avcodec", "avformat", "swresample", "static"] }
+ffmpeg-sys-next = { git="https://github.com/KetaDotCC/rust-ffmpeg-sys.git", branch="master", default-features=false, features=["avcodec", "avformat", "swresample"] }
thiserror = "1.0"
log = "0.4"

View File

@@ -0,0 +1,51 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
alsa-lib,
ffmpeg_6,
}:
rustPlatform.buildRustPackage {
pname = "rustplayer";
version = "1.1.2-unstable-2024-07-14";
src = fetchFromGitHub {
owner = "Kingtous";
repo = "RustPlayer";
rev = "29a16f01912bc3e92008c7ae2f9569c8d7250bd3";
hash = "sha256-+36dLp54rfNK0lSSTG5+J6y51NUtBhtwfhD7L23J5aY=";
};
# This patch is from the source
patches = [
./dynamic-lib.patch
];
cargoHash = "sha256-cfr5q44SzJ5iYm8cu/3+RkoPaoUklmOV/UbSdZZbu38=";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs = [
alsa-lib
openssl
ffmpeg_6
];
checkFlags = [
# network required
"--skip=fetch_and_play"
];
meta = with lib; {
homepage = "https://github.com/Kingtous/RustPlayer";
description = "Local audio player and network m3u8 radio player using a terminal interface";
license = licenses.gpl3Only;
maintainers = with maintainers; [ oluceps ];
platforms = platforms.unix;
};
}