nixpkgs/pkgs/applications/video/haruna/default.nix
2021-09-30 15:36:41 +08:00

75 lines
1.2 KiB
Nix

{ lib
, fetchFromGitLab
, mkDerivation
, breeze-icons
, breeze-qt5
, cmake
, extra-cmake-modules
, ffmpeg-full
, kcodecs
, kconfig
, kcoreaddons
, kfilemetadata
, ki18n
, kiconthemes
, kio
, kio-extras
, kirigami2
, kxmlgui
, mpv
, pkg-config
, qqc2-desktop-style
, qtbase
, qtquickcontrols2
, qtwayland
, youtube-dl
}:
mkDerivation rec {
pname = "haruna";
version = "0.7.2";
src = fetchFromGitLab {
owner = "multimedia";
repo = "haruna";
rev = "v${version}";
sha256 = "sha256-0s4v3YJhSssp2S9mppMXq0AtWXPIaqOYWPmJgKjXjDE=";
domain = "invent.kde.org";
};
buildInputs = [
breeze-icons
breeze-qt5
ffmpeg-full
kcodecs
kconfig
kcoreaddons
kfilemetadata
ki18n
kiconthemes
kio
kio-extras
kirigami2
kxmlgui
mpv
qqc2-desktop-style
qtbase
qtquickcontrols2
qtwayland
youtube-dl
];
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
];
meta = with lib; {
homepage = "https://github.com/g-fb/haruna";
description = "Open source video player built with Qt/QML and libmpv";
license = with licenses; [ bsd3 cc-by-40 gpl3Plus wtfpl ];
maintainers = with maintainers; [ jojosch ];
};
}