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

75 lines
1.2 KiB
Nix
Raw Normal View History

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