From 83b7231f6a4c7fa7c3e31f2a71b42f2d70da6285 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 13 Jan 2022 18:52:33 +0100 Subject: [PATCH] clip: init at 2.1.1 --- pkgs/applications/video/clip/default.nix | 58 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 60 insertions(+) create mode 100644 pkgs/applications/video/clip/default.nix diff --git a/pkgs/applications/video/clip/default.nix b/pkgs/applications/video/clip/default.nix new file mode 100644 index 000000000000..43f9437c57ad --- /dev/null +++ b/pkgs/applications/video/clip/default.nix @@ -0,0 +1,58 @@ +{ lib +, mkDerivation +, fetchFromGitLab +, cmake +, extra-cmake-modules +, applet-window-buttons +, karchive +, kcoreaddons +, ki18n +, kio +, kirigami2 +, mauikit +, mauikit-filebrowsing +, qtmultimedia +, qtquickcontrols2 +, taglib +, ffmpeg +}: + +mkDerivation rec { + pname = "clip"; + version = "2.1.1"; + + src = fetchFromGitLab { + domain = "invent.kde.org"; + owner = "maui"; + repo = "clip"; + rev = "v${version}"; + sha256 = "sha256-vW3A0PKJSC2QNs+QVZ9w0g4aVmcndhahrpkd4wWoUko="; + }; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + ]; + + buildInputs = [ + applet-window-buttons + karchive + kcoreaddons + ki18n + kio + kirigami2 + mauikit + mauikit-filebrowsing + qtmultimedia + qtquickcontrols2 + taglib + ffmpeg + ]; + + meta = with lib; { + description = "Video player and video collection manager"; + homepage = "https://invent.kde.org/maui/clip"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c82544ce55bf..f5b749470f3c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25533,6 +25533,8 @@ with pkgs; clightd = callPackage ../applications/misc/clight/clightd.nix { }; + clip = libsForQt5.callPackage ../applications/video/clip { }; + clipgrab = libsForQt5.callPackage ../applications/video/clipgrab { }; clipcat = callPackage ../applications/misc/clipcat { };