fe399695cd
release notes: <https://codeberg.org/avery42/delfin/releases/tag/v0.4.0> of note: - UI improvements - translation updates - added keyboard shortcuts - client now reports play/pause status to the server
77 lines
1.3 KiB
Nix
77 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, appstream
|
|
, cargo
|
|
, desktop-file-utils
|
|
, fetchFromGitea
|
|
, gitUpdater
|
|
, gtk4
|
|
, libadwaita
|
|
, libepoxy
|
|
, libglvnd
|
|
, meson
|
|
, mpv
|
|
, ninja
|
|
, openssl
|
|
, pkg-config
|
|
, rustPlatform
|
|
, rustc
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "delfin";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "avery42";
|
|
repo = "delfin";
|
|
rev = "v${version}";
|
|
hash = "sha256-QwxdNPLL7PBokq5WaPylD4bBmXmJWyEQsWKN7DM2utk=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
name = "${pname}-${version}";
|
|
hash = "sha256-ElB9TbfmYn/A1Y3+oQ752zHqkC+f2RJPxfGXH0m5C/E=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
appstream
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
cargo
|
|
rustc
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
libglvnd
|
|
libepoxy
|
|
mpv
|
|
openssl
|
|
];
|
|
|
|
mesonFlags = [
|
|
(lib.mesonOption "profile" "release")
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
rev-prefix = "v";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Stream movies and TV shows from Jellyfin";
|
|
homepage = "https://www.delfin.avery.cafe/";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ colinsane ];
|
|
mainProgram = "delfin";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|