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
85 lines
1.5 KiB
Nix
85 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
pkg-config,
|
|
mpv-unwrapped,
|
|
ffmpeg,
|
|
libadwaita,
|
|
gst_all_1,
|
|
openssl,
|
|
libepoxy,
|
|
wrapGAppsHook4,
|
|
nix-update-script,
|
|
stdenv,
|
|
meson,
|
|
ninja,
|
|
rustc,
|
|
cargo,
|
|
dbus,
|
|
desktop-file-utils,
|
|
versionCheckHook,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "tsukimi";
|
|
version = "0.21.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tsukinaha";
|
|
repo = "tsukimi";
|
|
tag = "v${version}";
|
|
hash = "sha256-FmxNOMYHoQK//v4ZGvJ6vIHKYgMfQm7LTwQV9iEFo0A=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
|
inherit src;
|
|
hash = "sha256-iH7vCZhCN2/gu2EC+YG/LUL9N/HMMnj7qHqXUdrlAh8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
meson
|
|
ninja
|
|
rustPlatform.cargoSetupHook
|
|
rustc
|
|
cargo
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
mpv-unwrapped
|
|
ffmpeg
|
|
libadwaita
|
|
openssl
|
|
libepoxy
|
|
dbus
|
|
]
|
|
++ (with gst_all_1; [
|
|
gstreamer
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gst-plugins-bad
|
|
gst-plugins-ugly
|
|
gst-libav
|
|
]);
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
versionCheckProgramArg = "--version";
|
|
doInstallCheck = true;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Simple third-party Emby client, featured with GTK4-RS, MPV and GStreamer";
|
|
homepage = "https://github.com/tsukinaha/tsukimi";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [
|
|
merrkry
|
|
aleksana
|
|
];
|
|
mainProgram = "tsukimi";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|