nixpkgs/pkgs/applications/video/haruna/default.nix

75 lines
1.2 KiB
Nix
Raw Normal View History

2021-04-16 09:20:14 +02:00
{ lib
2021-09-30 04:41:20 +02:00
, fetchFromGitLab
2021-04-16 09:20:14 +02:00
, mkDerivation
, breeze-icons
, breeze-qt5
, cmake
, extra-cmake-modules
2021-09-30 04:41:20 +02:00
, ffmpeg-full
2021-04-16 09:20:14 +02:00
, 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";
2021-12-08 08:54:52 +01:00
version = "0.7.3";
2021-04-16 09:20:14 +02:00
2021-09-30 04:41:20 +02:00
src = fetchFromGitLab {
owner = "multimedia";
2021-04-16 09:20:14 +02:00
repo = "haruna";
2021-09-30 04:41:20 +02:00
rev = "v${version}";
2021-12-08 08:54:52 +01:00
sha256 = "sha256-pFrmTaRvsqxJw34VULzfjx2k56kJgkB96nJtai2D1wY=";
2021-09-30 04:41:20 +02:00
domain = "invent.kde.org";
2021-04-16 09:20:14 +02:00
};
buildInputs = [
breeze-icons
breeze-qt5
2021-09-30 04:41:20 +02:00
ffmpeg-full
2021-04-16 09:20:14 +02:00
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 ];
};
}