depot/pkgs/by-name/li/livi/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

56 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, gst_all_1
, wrapGAppsHook4
, appstream-glib
, gtk4
, libadwaita
, desktop-file-utils
, libGL
}:
stdenv.mkDerivation rec {
pname = "livi";
version = "0.2.0";
src = fetchFromGitLab {
owner = "guidog";
repo = "livi";
domain = "gitlab.gnome.org";
rev = "v${version}";
hash = "sha256-4CWH8TWxuDGYlOilxyCa/HL/vtO6A9u/x39s1OLDODo";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gtk4
libadwaita
libGL
];
strictDeps = true;
meta = with lib; {
homepage = "https://gitlab.gnome.org/guidog/livi";
changelog = "https://gitlab.gnome.org/guidog/livi/-/blob/v${version}/NEWS?ref_type=tags";
description = "Small video player targeting mobile devices (also named μPlayer)";
license = licenses.gpl3Plus;
platforms = platforms.linux;
mainProgram = "livi";
maintainers = with maintainers; [ mksafavi ];
};
}