2021-04-17 00:35:05 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, mkDerivation
|
|
|
|
, breeze-icons
|
|
|
|
, breeze-qt5
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, 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-04-18 02:13:31 +00:00
|
|
|
version = "0.6.2";
|
2021-04-17 00:35:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "g-fb";
|
|
|
|
repo = "haruna";
|
|
|
|
rev = version;
|
2021-04-18 02:13:31 +00:00
|
|
|
sha256 = "sha256-YsC0ZdLwHCO9izDIk2dTMr0U/nb60MHSxKURV8Xltss=";
|
2021-04-17 00:35:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
breeze-icons
|
|
|
|
breeze-qt5
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|