170c3b4027
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
71 lines
1.1 KiB
Nix
71 lines
1.1 KiB
Nix
{ 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";
|
|
version = "0.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "g-fb";
|
|
repo = "haruna";
|
|
rev = version;
|
|
sha256 = "sha256-gJCLc8qJolv4Yufm/OBCTTEpyoodtySAqKH+zMHCoLU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|